	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bh1770_prox_rate
_bh1770_prox_rate:                      ## @bh1770_prox_rate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PROX_ABOVE_THRESHOLD@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	%esi, (%rax)
	setne	%cl
	movl	(%rdi,%rcx,4), %edx
	movl	8(%rdi), %edi
	movq	_BH1770_PS_MEAS_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_i2c_smbus_write_byte_data      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PROX_ABOVE_THRESHOLD,4,2       ## @PROX_ABOVE_THRESHOLD
	.comm	_BH1770_PS_MEAS_RATE,4,2        ## @BH1770_PS_MEAS_RATE
	.no_dead_strip	_bh1770_prox_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bh1770_prox_rate
_bh1770_prox_rate:                      ; @bh1770_prox_rate
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PROX_ABOVE_THRESHOLD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PROX_ABOVE_THRESHOLD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	cset	w8, ne
	ldr	w2, [x0, w8, uxtw #2]
	ldr	w0, [x0, #8]
Lloh3:
	adrp	x8, _BH1770_PS_MEAS_RATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BH1770_PS_MEAS_RATE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	b	_i2c_smbus_write_byte_data
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PROX_ABOVE_THRESHOLD,4,2       ; @PROX_ABOVE_THRESHOLD
	.comm	_BH1770_PS_MEAS_RATE,4,2        ; @BH1770_PS_MEAS_RATE
	.no_dead_strip	_bh1770_prox_rate
.subsections_via_symbols
