	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si7005_probe
_si7005_probe:                          ## @si7005_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	movq	_I2C_FUNC_SMBUS_WORD_DATA@GOTPCREL(%rip), %rax
	movl	(%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, %rbx
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_clientdata
	movq	%r14, 8(%r15)
	leaq	4(%r15), %rdi
	callq	_mutex_init
	movq	%r14, 24(%rbx)
	movq	%r14, %rdi
	callq	_dev_name
	movl	%eax, 20(%rbx)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_si7005_info@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_si7005_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 4(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, (%rbx)
	movq	_SI7005_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_10
## %bb.6:
	movq	_SI7005_ID_7005@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_9
## %bb.7:
	movq	_SI7005_ID_7015@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_9
## %bb.8:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_SI7005_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_10
## %bb.11:
	movl	%eax, (%r15)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_iio_device_register       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_SMBUS_WORD_DATA,4,2   ## @I2C_FUNC_SMBUS_WORD_DATA
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_si7005_info,4,2                ## @si7005_info
	.comm	_si7005_channels,4,2            ## @si7005_channels
	.comm	_SI7005_ID,4,2                  ## @SI7005_ID
	.comm	_SI7005_ID_7005,4,2             ## @SI7005_ID_7005
	.comm	_SI7005_ID_7015,4,2             ## @SI7005_ID_7015
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_SI7005_CONFIG,4,2              ## @SI7005_CONFIG
	.no_dead_strip	_si7005_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si7005_probe
_si7005_probe:                          ; @si7005_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	w1, [x8]
	bl	_i2c_check_functionality
	cbz	w0, LBB0_6
; %bb.1:
	mov	x0, x19
	mov	w1, #16
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_7
; %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]
	add	x0, x21, #4
	bl	_mutex_init
	str	x19, [x20, #24]
	mov	x0, x19
	bl	_dev_name
Lloh3:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _si7005_info@GOTPAGE
Lloh7:
	ldr	x9, [x9, _si7005_info@GOTPAGEOFF]
	stp	w8, w0, [x20, #16]
	str	x9, [x20, #8]
Lloh8:
	adrp	x8, _si7005_channels@GOTPAGE
Lloh9:
	ldr	x8, [x8, _si7005_channels@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	str	w0, [x20, #4]
	bl	_ARRAY_SIZE
	str	w0, [x20]
Lloh11:
	adrp	x8, _SI7005_ID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SI7005_ID@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_10
; %bb.3:
Lloh14:
	adrp	x8, _SI7005_ID_7005@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SI7005_ID_7005@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _SI7005_ID_7015@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SI7005_ID_7015@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_8
; %bb.4:
Lloh20:
	adrp	x8, _SI7005_CONFIG@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SI7005_CONFIG@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_10
; %bb.5:
	str	w0, [x21]
	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_6:
Lloh23:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh25:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh27:
	adrp	x8, _ENODEV@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_SMBUS_WORD_DATA,4,2   ; @I2C_FUNC_SMBUS_WORD_DATA
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_si7005_info,4,2                ; @si7005_info
	.comm	_si7005_channels,4,2            ; @si7005_channels
	.comm	_SI7005_ID,4,2                  ; @SI7005_ID
	.comm	_SI7005_ID_7005,4,2             ; @SI7005_ID_7005
	.comm	_SI7005_ID_7015,4,2             ; @SI7005_ID_7015
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_SI7005_CONFIG,4,2              ; @SI7005_CONFIG
	.no_dead_strip	_si7005_probe
.subsections_via_symbols
