	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hts221_update_odr
_hts221_update_odr:                     ## @hts221_update_odr
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	_hts221_odr_table@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	cmpq	%r12, (%rdi,%rbx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %rbx
	cmpq	%rax, %r15
	jl	LBB0_3
	jmp	LBB0_5
LBB0_1:
	xorl	%r15d, %r15d
LBB0_5:
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r15d
	jne	LBB0_7
## %bb.6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_7:
	movl	8(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_HTS221_REG_CNTRL1_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_HTS221_ODR_MASK@GOTPCREL(%rip), %rax
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	(%rax), %r13d
	movq	(%r14), %rax
	movl	%r15d, %ecx
	shlq	$4, %rcx
	movl	8(%rax,%rcx), %esi
	movl	%r13d, %edi
	callq	_FIELD_PREP
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_regmap_update_bits
	testl	%eax, %eax
	js	LBB0_9
## %bb.8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	xorl	%eax, %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hts221_odr_table,8,3           ## @hts221_odr_table
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_HTS221_REG_CNTRL1_ADDR,4,2     ## @HTS221_REG_CNTRL1_ADDR
	.comm	_HTS221_ODR_MASK,4,2            ## @HTS221_ODR_MASK
	.no_dead_strip	_hts221_update_odr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hts221_update_odr
_hts221_update_odr:                     ; @hts221_update_odr
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _hts221_odr_table@GOTPAGE
Lloh1:
	ldr	x24, [x24, _hts221_odr_table@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x21, #0
	mov	x25, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	ldr	x8, [x0, x21]
	cmp	x8, x19
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x25, x25, #1
	bl	_ARRAY_SIZE
	add	x21, x21, #16
	cmp	x25, w0, sxtw
	b.lt	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	w25, #0
LBB0_5:
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w25, w0
	b.ne	LBB0_7
; %bb.6:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_7:
	ldr	w21, [x20, #8]
Lloh5:
	adrp	x8, _HTS221_REG_CNTRL1_ADDR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HTS221_REG_CNTRL1_ADDR@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
Lloh8:
	adrp	x8, _HTS221_ODR_MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HTS221_ODR_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w23, [x8]
	ldr	x8, [x24]
	add	x8, x8, w25, uxtw #4
	ldr	w1, [x8, #8]
	mov	x0, x23
	bl	_FIELD_PREP
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_regmap_update_bits
	tbnz	w0, #31, LBB0_9
; %bb.8:
	mov	w0, #0
	str	x19, [x20]
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_hts221_odr_table,8,3           ; @hts221_odr_table
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_HTS221_REG_CNTRL1_ADDR,4,2     ; @HTS221_REG_CNTRL1_ADDR
	.comm	_HTS221_ODR_MASK,4,2            ; @HTS221_ODR_MASK
	.no_dead_strip	_hts221_update_odr
.subsections_via_symbols
