	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pca_address
_pca_address:                           ## @pca_address
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_pca_get_con
	movl	%eax, %r14d
	movl	(%rbx), %esi
	movl	%esi, %eax
	andl	$127, %eax
	movq	_I2C_M_RD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	xorl	%edi, %edi
	andl	4(%rbx), %ecx
	sete	%dl
	setne	%dil
	leal	(%rdi,%rax,2), %ebx
	leal	(%rdx,%rdx,4), %edx
	addl	$82, %edx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %ecx
	callq	_DEB2
	movq	_I2C_PCA_DAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_pca_outw
	movq	_I2C_PCA_CON_STO@GOTPCREL(%rip), %rax
	movq	_I2C_PCA_CON_STA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_I2C_PCA_CON_SI@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	notl	%esi
	andl	%r14d, %esi
	movq	%r15, %rdi
	callq	_pca_set_con
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pca_wait                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_M_RD,4,2                   ## @I2C_M_RD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"=== SLAVE ADDRESS %#04x+%c=%#04x\n"

	.comm	_I2C_PCA_DAT,4,2                ## @I2C_PCA_DAT
	.comm	_I2C_PCA_CON_STO,4,2            ## @I2C_PCA_CON_STO
	.comm	_I2C_PCA_CON_STA,4,2            ## @I2C_PCA_CON_STA
	.comm	_I2C_PCA_CON_SI,4,2             ## @I2C_PCA_CON_SI
	.no_dead_strip	_pca_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pca_address
_pca_address:                           ; @pca_address
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	bl	_pca_get_con
	mov	x21, x0
	ldp	w1, w8, [x19]
Lloh0:
	adrp	x9, _I2C_M_RD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I2C_M_RD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w19, ne
	bfi	w19, w1, #1, #7
	mov	w8, #82
	mov	w9, #87
	csel	w2, w9, w8, eq
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x3, x19
	bl	_DEB2
Lloh5:
	adrp	x8, _I2C_PCA_DAT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I2C_PCA_DAT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_pca_outw
Lloh8:
	adrp	x8, _I2C_PCA_CON_STO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _I2C_PCA_CON_STO@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _I2C_PCA_CON_STA@GOTPAGE
Lloh12:
	ldr	x9, [x9, _I2C_PCA_CON_STA@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh14:
	adrp	x9, _I2C_PCA_CON_SI@GOTPAGE
Lloh15:
	ldr	x9, [x9, _I2C_PCA_CON_SI@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w1, w21, w8
	mov	x0, x20
	bl	_pca_set_con
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pca_wait
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_M_RD,4,2                   ; @I2C_M_RD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"=== SLAVE ADDRESS %#04x+%c=%#04x\n"

	.comm	_I2C_PCA_DAT,4,2                ; @I2C_PCA_DAT
	.comm	_I2C_PCA_CON_STO,4,2            ; @I2C_PCA_CON_STO
	.comm	_I2C_PCA_CON_STA,4,2            ; @I2C_PCA_CON_STA
	.comm	_I2C_PCA_CON_SI,4,2             ; @I2C_PCA_CON_SI
	.no_dead_strip	_pca_address
.subsections_via_symbols
