	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si7020_probe
_si7020_probe:                          ## @si7020_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	movq	_I2C_FUNC_SMBUS_WRITE_BYTE@GOTPCREL(%rip), %rax
	movq	_I2C_FUNC_SMBUS_READ_WORD_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_i2c_check_functionality
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	movq	_SI7020CMD_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_write_byte
	testl	%eax, %eax
	js	LBB0_3
## %bb.5:
	movl	$15, %edi
	callq	_msleep
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%r14, (%rax)
	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	_si7020_info@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_si7020_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 4(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_devm_iio_device_register       ## TAILCALL
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_SMBUS_WRITE_BYTE,4,2  ## @I2C_FUNC_SMBUS_WRITE_BYTE
	.comm	_I2C_FUNC_SMBUS_READ_WORD_DATA,4,2 ## @I2C_FUNC_SMBUS_READ_WORD_DATA
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_SI7020CMD_RESET,4,2            ## @SI7020CMD_RESET
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_si7020_info,4,2                ## @si7020_info
	.comm	_si7020_channels,4,2            ## @si7020_channels
	.no_dead_strip	_si7020_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si7020_probe
_si7020_probe:                          ; @si7020_probe
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _I2C_FUNC_SMBUS_WRITE_BYTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_WRITE_BYTE@GOTPAGEOFF]
	ldr	w0, [x0, #4]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _I2C_FUNC_SMBUS_READ_WORD_DATA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I2C_FUNC_SMBUS_READ_WORD_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_i2c_check_functionality
	cbz	w0, LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, _SI7020CMD_RESET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SI7020CMD_RESET@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_i2c_smbus_write_byte
	tbnz	w0, #31, LBB0_7
; %bb.2:
	mov	w0, #15
	bl	_msleep
	mov	x0, x19
	mov	w1, #8
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_5
; %bb.3:
	mov	x20, x0
	bl	_iio_priv
	str	x19, [x0]
	str	x19, [x20, #24]
	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, _si7020_info@GOTPAGE
Lloh13:
	ldr	x9, [x9, _si7020_info@GOTPAGEOFF]
	stp	w8, w0, [x20, #16]
	str	x9, [x20, #8]
Lloh14:
	adrp	x8, _si7020_channels@GOTPAGE
Lloh15:
	ldr	x8, [x8, _si7020_channels@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	str	w0, [x20, #4]
	bl	_ARRAY_SIZE
	str	w0, [x20]
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_devm_iio_device_register
LBB0_4:
Lloh17:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_SMBUS_WRITE_BYTE,4,2  ; @I2C_FUNC_SMBUS_WRITE_BYTE
	.comm	_I2C_FUNC_SMBUS_READ_WORD_DATA,4,2 ; @I2C_FUNC_SMBUS_READ_WORD_DATA
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_SI7020CMD_RESET,4,2            ; @SI7020CMD_RESET
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_si7020_info,4,2                ; @si7020_info
	.comm	_si7020_channels,4,2            ; @si7020_channels
	.no_dead_strip	_si7020_probe
.subsections_via_symbols
