	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si1145_set_meas_rate
_si1145_set_meas_rate:                  ## @si1145_set_meas_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	8(%rdi), %rax
	cmpq	$0, (%rax)
	movl	%esi, %edx
	movl	(%rdi), %edi
	movq	_SI1145_REG_MEAS_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	je	LBB0_2
## %bb.1:
	popq	%rbp
	jmp	_i2c_smbus_write_word_data      ## TAILCALL
LBB0_2:
	popq	%rbp
	jmp	_i2c_smbus_write_byte_data      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SI1145_REG_MEAS_RATE,4,2       ## @SI1145_REG_MEAS_RATE
	.no_dead_strip	_si1145_set_meas_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si1145_set_meas_rate
_si1145_set_meas_rate:                  ; @si1145_set_meas_rate
	.cfi_startproc
; %bb.0:
	mov	x2, x1
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	w0, [x0]
Lloh0:
	adrp	x9, _SI1145_REG_MEAS_RATE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SI1145_REG_MEAS_RATE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	cbz	x8, LBB0_2
; %bb.1:
	b	_i2c_smbus_write_word_data
LBB0_2:
	b	_i2c_smbus_write_byte_data
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SI1145_REG_MEAS_RATE,4,2       ; @SI1145_REG_MEAS_RATE
	.no_dead_strip	_si1145_set_meas_rate
.subsections_via_symbols
