	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drx39xxj_i2c_gate_ctrl
_drx39xxj_i2c_gate_ctrl:                ## @drx39xxj_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
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rbx
	movq	8(%rbx), %rdi
	xorl	%eax, %eax
	testl	%esi, %esi
	setne	%al
	movl	%eax, -20(%rbp)
	cmpl	%esi, (%rbx)
	je	LBB0_4
## %bb.1:
	movl	%esi, %r14d
	leaq	-20(%rbp), %rsi
	callq	_ctrl_i2c_bridge
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_err
	xorl	%eax, %eax
	callq	_dump_stack
	jmp	LBB0_4
LBB0_3:
	movl	%r14d, (%rbx)
LBB0_4:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"drx39xxj: could not open i2c gate [%d]\n"

	.no_dead_strip	_drx39xxj_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 drx39xxj_i2c_gate_ctrl
_drx39xxj_i2c_gate_ctrl:                ; @drx39xxj_i2c_gate_ctrl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x20, [x0]
	ldr	x0, [x20, #8]
	cmp	w1, #0
	cset	w8, ne
	str	w8, [sp, #12]
	ldr	w8, [x20]
	cmp	w8, w1
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x1
	add	x1, sp, #12
	bl	_ctrl_i2c_bridge
	cbz	w0, LBB0_3
; %bb.2:
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	bl	_dump_stack
	b	LBB0_4
LBB0_3:
	str	w19, [x20]
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"drx39xxj: could not open i2c gate [%d]\n"

	.no_dead_strip	_drx39xxj_i2c_gate_ctrl
.subsections_via_symbols
