	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hts221_probe                   ## -- Begin function hts221_probe
	.p2align	4, 0x90
_hts221_probe:                          ## @hts221_probe
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movl	%esi, %r13d
	movq	%rdi, %r14
	movl	$32, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_dev_set_drvdata
	movq	%r15, %rdi
	callq	_iio_priv
	movq	%rbx, (%rax)
	movq	%r14, 16(%rax)
	movl	%r13d, 8(%rax)
	movq	%rax, %r13
	movq	%r12, 24(%rax)
	movq	%rax, %rdi
	callq	_hts221_check_whoami
	testl	%eax, %eax
	js	LBB0_20
## %bb.2:
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r15)
	movq	16(%r13), %rax
	movq	%rax, 24(%r15)
	movq	_hts221_scan_masks@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r15)
	movq	_hts221_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 16(%r15)
	callq	_ARRAY_SIZE
	movl	%eax, 12(%r15)
	movq	_HTS221_DEV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	_hts221_info@GOTPCREL(%rip), %rax
	movq	%rax, (%r15)
	movq	24(%r13), %r14
	movq	_HTS221_REG_CNTRL1_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_HTS221_BDU_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_FIELD_PREP
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_regmap_update_bits
	testl	%eax, %eax
	js	LBB0_20
## %bb.3:
	movq	_hts221_odr_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_hts221_update_odr
	testl	%eax, %eax
	js	LBB0_20
## %bb.4:
	movq	%r13, %rdi
	callq	_hts221_parse_rh_caldata
	testl	%eax, %eax
	js	LBB0_16
## %bb.5:
	movq	_hts221_avg_list@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_HTS221_SENSOR_H@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	(%rax,%rsi,8), %rax
	movl	12(%rax), %edx
	movq	%r13, %rdi
	callq	_hts221_update_avg
	testl	%eax, %eax
	js	LBB0_17
## %bb.6:
	movq	%r13, %rdi
	callq	_hts221_parse_temp_caldata
	testl	%eax, %eax
	js	LBB0_18
## %bb.7:
	movq	(%r14), %rax
	movq	_HTS221_SENSOR_T@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	(%rax,%rsi,8), %rax
	movl	12(%rax), %edx
	movq	%r13, %rdi
	callq	_hts221_update_avg
	testl	%eax, %eax
	js	LBB0_19
## %bb.8:
	cmpl	$0, 8(%r13)
	jle	LBB0_11
## %bb.9:
	movq	%r13, %rdi
	callq	_hts221_allocate_buffers
	testl	%eax, %eax
	js	LBB0_20
## %bb.10:
	movq	%r13, %rdi
	callq	_hts221_allocate_trigger
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_21
LBB0_11:
	movq	16(%r13), %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_iio_device_register       ## TAILCALL
LBB0_20:
	movl	%eax, %ebx
	jmp	LBB0_21
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	%eax, %ebx
	movq	16(%r13), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_21
LBB0_17:
	movl	%eax, %ebx
	movq	16(%r13), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_21
LBB0_18:
	movl	%eax, %ebx
	movq	16(%r13), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_21
LBB0_19:
	movl	%eax, %ebx
	movq	16(%r13), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_hts221_scan_masks,4,2          ## @hts221_scan_masks
	.comm	_hts221_channels,4,2            ## @hts221_channels
	.comm	_HTS221_DEV_NAME,4,2            ## @HTS221_DEV_NAME
	.comm	_hts221_info,4,2                ## @hts221_info
	.comm	_HTS221_REG_CNTRL1_ADDR,4,2     ## @HTS221_REG_CNTRL1_ADDR
	.comm	_HTS221_BDU_MASK,4,2            ## @HTS221_BDU_MASK
	.comm	_hts221_odr_table,8,3           ## @hts221_odr_table
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to get rh calibration data\n"

	.comm	_hts221_avg_list,8,3            ## @hts221_avg_list
	.comm	_HTS221_SENSOR_H,8,3            ## @HTS221_SENSOR_H
L_.str.1:                               ## @.str.1
	.asciz	"failed to set rh oversampling ratio\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to get temperature calibration data\n"

	.comm	_HTS221_SENSOR_T,8,3            ## @HTS221_SENSOR_T
L_.str.3:                               ## @.str.3
	.asciz	"failed to set temperature oversampling ratio\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hts221_probe                   ; -- Begin function hts221_probe
	.p2align	2
_hts221_probe:                          ; @hts221_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x3
	mov	x24, x2
	mov	x22, x1
	mov	x23, x0
	mov	w1, #32
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_13
; %bb.1:
	mov	x19, x0
	mov	x0, x23
	mov	x1, x19
	bl	_dev_set_drvdata
	mov	x0, x19
	bl	_iio_priv
	mov	x20, x0
	str	x24, [x0]
	str	w22, [x0, #8]
	stp	x23, x21, [x0, #16]
	bl	_hts221_check_whoami
	tbnz	w0, #31, LBB0_12
; %bb.2:
Lloh0:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	ldr	x8, [x20, #16]
	str	x8, [x19, #24]
Lloh3:
	adrp	x8, _hts221_scan_masks@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hts221_scan_masks@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _hts221_channels@GOTPAGE
Lloh7:
	ldr	x9, [x9, _hts221_channels@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x9]
	stp	w0, w8, [x19, #16]
	bl	_ARRAY_SIZE
Lloh9:
	adrp	x8, _HTS221_DEV_NAME@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HTS221_DEV_NAME@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	w8, w0, [x19, #8]
Lloh12:
	adrp	x8, _hts221_info@GOTPAGE
Lloh13:
	ldr	x8, [x8, _hts221_info@GOTPAGEOFF]
	str	x8, [x19]
	ldr	x21, [x20, #24]
Lloh14:
	adrp	x8, _HTS221_REG_CNTRL1_ADDR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HTS221_REG_CNTRL1_ADDR@GOTPAGEOFF]
Lloh16:
	ldr	w22, [x8]
Lloh17:
	adrp	x8, _HTS221_BDU_MASK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _HTS221_BDU_MASK@GOTPAGEOFF]
Lloh19:
	ldr	w23, [x8]
	mov	x0, x23
	mov	w1, #1
	bl	_FIELD_PREP
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_regmap_update_bits
	tbnz	w0, #31, LBB0_12
; %bb.3:
Lloh20:
	adrp	x8, _hts221_odr_table@GOTPAGE
Lloh21:
	ldr	x8, [x8, _hts221_odr_table@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_hts221_update_odr
	tbnz	w0, #31, LBB0_12
; %bb.4:
	mov	x0, x20
	bl	_hts221_parse_rh_caldata
	tbnz	w0, #31, LBB0_15
; %bb.5:
Lloh23:
	adrp	x22, _hts221_avg_list@GOTPAGE
Lloh24:
	ldr	x22, [x22, _hts221_avg_list@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh25:
	adrp	x9, _HTS221_SENSOR_H@GOTPAGE
Lloh26:
	ldr	x9, [x9, _HTS221_SENSOR_H@GOTPAGEOFF]
Lloh27:
	ldr	x1, [x9]
	ldr	x8, [x8, x1, lsl #3]
	ldr	w2, [x8, #12]
	mov	x0, x20
	bl	_hts221_update_avg
	tbnz	w0, #31, LBB0_16
; %bb.6:
	mov	x0, x20
	bl	_hts221_parse_temp_caldata
	tbnz	w0, #31, LBB0_17
; %bb.7:
	ldr	x8, [x22]
Lloh28:
	adrp	x9, _HTS221_SENSOR_T@GOTPAGE
Lloh29:
	ldr	x9, [x9, _HTS221_SENSOR_T@GOTPAGEOFF]
Lloh30:
	ldr	x1, [x9]
	ldr	x8, [x8, x1, lsl #3]
	ldr	w2, [x8, #12]
	mov	x0, x20
	bl	_hts221_update_avg
	tbnz	w0, #31, LBB0_18
; %bb.8:
	ldr	w8, [x20, #8]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x0, x20
	bl	_hts221_allocate_buffers
	tbnz	w0, #31, LBB0_12
; %bb.10:
	mov	x0, x20
	bl	_hts221_allocate_trigger
	mov	x21, x0
	cbnz	w0, LBB0_14
LBB0_11:
	ldr	x0, [x20, #16]
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_devm_iio_device_register
LBB0_12:
	mov	x21, x0
	b	LBB0_14
LBB0_13:
Lloh31:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_14:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	x21, x0
	ldr	x0, [x20, #16]
Lloh34:
	adrp	x1, l_.str@PAGE
Lloh35:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_14
LBB0_16:
	mov	x21, x0
	ldr	x0, [x20, #16]
Lloh36:
	adrp	x1, l_.str.1@PAGE
Lloh37:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	b	LBB0_14
LBB0_17:
	mov	x21, x0
	ldr	x0, [x20, #16]
Lloh38:
	adrp	x1, l_.str.2@PAGE
Lloh39:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
	b	LBB0_14
LBB0_18:
	mov	x21, x0
	ldr	x0, [x20, #16]
Lloh40:
	adrp	x1, l_.str.3@PAGE
Lloh41:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_hts221_scan_masks,4,2          ; @hts221_scan_masks
	.comm	_hts221_channels,4,2            ; @hts221_channels
	.comm	_HTS221_DEV_NAME,4,2            ; @HTS221_DEV_NAME
	.comm	_hts221_info,4,2                ; @hts221_info
	.comm	_HTS221_REG_CNTRL1_ADDR,4,2     ; @HTS221_REG_CNTRL1_ADDR
	.comm	_HTS221_BDU_MASK,4,2            ; @HTS221_BDU_MASK
	.comm	_hts221_odr_table,8,3           ; @hts221_odr_table
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to get rh calibration data\n"

	.comm	_hts221_avg_list,8,3            ; @hts221_avg_list
	.comm	_HTS221_SENSOR_H,8,3            ; @HTS221_SENSOR_H
l_.str.1:                               ; @.str.1
	.asciz	"failed to set rh oversampling ratio\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to get temperature calibration data\n"

	.comm	_HTS221_SENSOR_T,8,3            ; @HTS221_SENSOR_T
l_.str.3:                               ; @.str.3
	.asciz	"failed to set temperature oversampling ratio\n"

.subsections_via_symbols
