	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stv0299_i2c_gate_ctrl
_stv0299_i2c_gate_ctrl:                 ## @stv0299_i2c_gate_ctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdi
	xorl	%edx, %edx
	testl	%esi, %esi
	setne	%dl
	shll	$7, %edx
	orl	$53, %edx
	movl	$5, %esi
	callq	_stv0299_writeregI
	movl	$1, %edi
	callq	_udelay
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stv0299_i2c_gate_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stv0299_i2c_gate_ctrl
_stv0299_i2c_gate_ctrl:                 ; @stv0299_i2c_gate_ctrl
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x0, [x0]
	mov	w8, #181
	mov	w9, #53
	cmp	w1, #0
	csel	w2, w9, w8, eq
	mov	w1, #5
	bl	_stv0299_writeregI
	mov	w0, #1
	bl	_udelay
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stv0299_i2c_gate_ctrl
.subsections_via_symbols
