	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdc100x_probe
_hdc100x_probe:                         ## @hdc100x_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_I2C_FUNC_SMBUS_WORD_DATA@GOTPCREL(%rip), %rax
	movq	_I2C_FUNC_SMBUS_BYTE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	4(%rdi), %edi
	movq	_I2C_FUNC_I2C@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_i2c_check_functionality
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_i2c_set_clientdata
	movq	%r14, 8(%r15)
	movq	%r15, %rdi
	callq	_mutex_init
	movq	%r14, 32(%r12)
	movq	%r14, %rdi
	callq	_dev_name
	movl	%eax, 28(%r12)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r12)
	movq	_hdc100x_info@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r12)
	movq	_hdc100x_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 8(%r12)
	callq	_ARRAY_SIZE
	movl	%eax, 4(%r12)
	movq	_hdc100x_scan_masks@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movq	_hdc100x_int_time@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_hdc100x_set_it_time
	movq	(%rbx), %rax
	movq	8(%rax), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_hdc100x_set_it_time
	movq	_HDC100X_REG_CONFIG_ACQ_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_hdc100x_update_config
	movq	_hdc100x_trigger_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_hdc_buffer_setup_ops@GOTPCREL(%rip), %r8
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_devm_iio_triggered_buffer_setup
	testl	%eax, %eax
	js	LBB0_6
## %bb.8:
	movq	%r14, %rdi
	movq	%r12, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_iio_device_register       ## TAILCALL
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_6:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_SMBUS_WORD_DATA,4,2   ## @I2C_FUNC_SMBUS_WORD_DATA
	.comm	_I2C_FUNC_SMBUS_BYTE,4,2        ## @I2C_FUNC_SMBUS_BYTE
	.comm	_I2C_FUNC_I2C,4,2               ## @I2C_FUNC_I2C
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_hdc100x_info,4,2               ## @hdc100x_info
	.comm	_hdc100x_channels,4,2           ## @hdc100x_channels
	.comm	_hdc100x_scan_masks,4,2         ## @hdc100x_scan_masks
	.comm	_hdc100x_int_time,8,3           ## @hdc100x_int_time
	.comm	_HDC100X_REG_CONFIG_ACQ_MODE,4,2 ## @HDC100X_REG_CONFIG_ACQ_MODE
	.comm	_hdc100x_trigger_handler,4,2    ## @hdc100x_trigger_handler
	.comm	_hdc_buffer_setup_ops,4,2       ## @hdc_buffer_setup_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"iio triggered buffer setup failed\n"

	.no_dead_strip	_hdc100x_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdc100x_probe
_hdc100x_probe:                         ; @hdc100x_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x8, _I2C_FUNC_SMBUS_WORD_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_WORD_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _I2C_FUNC_SMBUS_BYTE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I2C_FUNC_SMBUS_BYTE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _I2C_FUNC_I2C@GOTPAGE
Lloh7:
	ldr	x9, [x9, _I2C_FUNC_I2C@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w1, w8, w9
	bl	_i2c_check_functionality
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x19
	mov	w1, #16
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	bl	_iio_priv
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	str	x19, [x21, #8]
	mov	x0, x21
	bl	_mutex_init
	str	x19, [x20, #32]
	mov	x0, x19
	bl	_dev_name
Lloh9:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _hdc100x_info@GOTPAGE
Lloh13:
	ldr	x9, [x9, _hdc100x_info@GOTPAGEOFF]
	stp	w8, w0, [x20, #24]
	str	x9, [x20, #16]
Lloh14:
	adrp	x8, _hdc100x_channels@GOTPAGE
Lloh15:
	ldr	x8, [x8, _hdc100x_channels@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	str	w0, [x20, #8]
	bl	_ARRAY_SIZE
Lloh17:
	adrp	x8, _hdc100x_scan_masks@GOTPAGE
Lloh18:
	ldr	x8, [x8, _hdc100x_scan_masks@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	stp	w8, w0, [x20]
Lloh20:
	adrp	x22, _hdc100x_int_time@GOTPAGE
Lloh21:
	ldr	x22, [x22, _hdc100x_int_time@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #0
	bl	_hdc100x_set_it_time
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #1
	bl	_hdc100x_set_it_time
Lloh22:
	adrp	x8, _HDC100X_REG_CONFIG_ACQ_MODE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _HDC100X_REG_CONFIG_ACQ_MODE@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_hdc100x_update_config
Lloh25:
	adrp	x8, _hdc100x_trigger_handler@GOTPAGE
Lloh26:
	ldr	x8, [x8, _hdc100x_trigger_handler@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
Lloh28:
	adrp	x4, _hdc_buffer_setup_ops@GOTPAGE
Lloh29:
	ldr	x4, [x4, _hdc_buffer_setup_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	_devm_iio_triggered_buffer_setup
	tbnz	w0, #31, LBB0_7
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_devm_iio_device_register
LBB0_4:
Lloh30:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh32:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_8
LBB0_7:
	mov	x21, x0
Lloh34:
	adrp	x1, l_.str@PAGE
Lloh35:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_SMBUS_WORD_DATA,4,2   ; @I2C_FUNC_SMBUS_WORD_DATA
	.comm	_I2C_FUNC_SMBUS_BYTE,4,2        ; @I2C_FUNC_SMBUS_BYTE
	.comm	_I2C_FUNC_I2C,4,2               ; @I2C_FUNC_I2C
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_hdc100x_info,4,2               ; @hdc100x_info
	.comm	_hdc100x_channels,4,2           ; @hdc100x_channels
	.comm	_hdc100x_scan_masks,4,2         ; @hdc100x_scan_masks
	.comm	_hdc100x_int_time,8,3           ; @hdc100x_int_time
	.comm	_HDC100X_REG_CONFIG_ACQ_MODE,4,2 ; @HDC100X_REG_CONFIG_ACQ_MODE
	.comm	_hdc100x_trigger_handler,4,2    ; @hdc100x_trigger_handler
	.comm	_hdc_buffer_setup_ops,4,2       ; @hdc_buffer_setup_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"iio triggered buffer setup failed\n"

	.no_dead_strip	_hdc100x_probe
.subsections_via_symbols
