	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usb_find_address
_usb_find_address:                      ## @usb_find_address
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movzwl	(%rsi), %r8d
	movb	4(%rsi), %sil
	addb	%sil, %sil
	movq	_I2C_M_RD@GOTPCREL(%rip), %r9
	movzwl	(%r9), %eax
	andw	%r8w, %ax
	setne	%al
	orb	%sil, %al
	movb	%al, (%rcx)
	testw	%r8w, (%r9)
	je	LBB0_2
## %bb.1:
	movzbl	%al, %esi
	callq	_try_read_address
	jmp	LBB0_3
LBB0_2:
	movzbl	%al, %esi
	callq	_try_write_address
LBB0_3:
	movq	_EREMOTEIO@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	subl	(%rdx), %ecx
	xorl	%edx, %edx
	cmpl	$1, %eax
	cmovel	%edx, %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_M_RD,2,1                   ## @I2C_M_RD
	.comm	_EREMOTEIO,4,2                  ## @EREMOTEIO
	.no_dead_strip	_usb_find_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usb_find_address
_usb_find_address:                      ; @usb_find_address
	.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
	ldrh	w9, [x1]
	ldrb	w10, [x1, #4]
Lloh0:
	adrp	x11, _I2C_M_RD@GOTPAGE
Lloh1:
	ldr	x11, [x11, _I2C_M_RD@GOTPAGEOFF]
	ldrh	w8, [x11]
	and	w8, w8, w9
	tst	w8, #0xffff
	cset	w8, ne
	bfi	w8, w10, #1, #31
	strb	w8, [x3]
	ldrh	w10, [x11]
	and	w9, w10, w9
	and	w1, w8, #0xff
	tst	w9, #0xffff
	b.eq	LBB0_2
; %bb.1:
	bl	_try_read_address
	b	LBB0_3
LBB0_2:
	bl	_try_write_address
LBB0_3:
Lloh2:
	adrp	x8, _EREMOTEIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EREMOTEIO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, #1
	csneg	w0, wzr, w8, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_M_RD,2,1                   ; @I2C_M_RD
	.comm	_EREMOTEIO,4,2                  ; @EREMOTEIO
	.no_dead_strip	_usb_find_address
.subsections_via_symbols
