	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vz89x_probe
_vz89x_probe:                           ## @vz89x_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	%rsi, %r12
	movq	%rdi, %r14
	movl	$40, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r15
	movl	4(%r14), %edi
	movq	_I2C_FUNC_I2C@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_check_functionality
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_vz89x_i2c_xfer@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_5:
	movl	4(%r14), %edi
	movq	_I2C_FUNC_SMBUS_WORD_DATA@GOTPCREL(%rip), %rax
	movq	_I2C_FUNC_SMBUS_BYTE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_i2c_check_functionality
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	_vz89x_smbus_xfer@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, 32(%r15)
	movq	_vz89x_dt_ids@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_of_match_device
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movl	(%rax), %r12d
	jmp	LBB0_10
LBB0_8:
	movl	(%r12), %r12d
LBB0_10:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_clientdata
	movq	%r14, 24(%r15)
	movq	_vz89x_chips@GOTPCREL(%rip), %rax
	movslq	%r12d, %rcx
	shlq	$3, %rcx
	addq	(%rax), %rcx
	movq	%rcx, (%r15)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	%rax, 16(%r15)
	movq	%r15, %rdi
	addq	$8, %rdi
	callq	_mutex_init
	movq	%r14, 24(%rbx)
	movq	_vz89x_info@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movq	%r14, %rdi
	callq	_dev_name
	movl	%eax, 12(%rbx)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	(%r15), %rax
	movl	4(%rax), %ecx
	movl	%ecx, 4(%rbx)
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_iio_device_register       ## TAILCALL
LBB0_11:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_I2C_FUNC_I2C,4,2               ## @I2C_FUNC_I2C
	.comm	_vz89x_i2c_xfer,4,2             ## @vz89x_i2c_xfer
	.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	_vz89x_smbus_xfer,4,2           ## @vz89x_smbus_xfer
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_vz89x_dt_ids,4,2               ## @vz89x_dt_ids
	.comm	_vz89x_chips,8,3                ## @vz89x_chips
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,8,3                         ## @HZ
	.comm	_vz89x_info,4,2                 ## @vz89x_info
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.no_dead_strip	_vz89x_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vz89x_probe
_vz89x_probe:                           ; @vz89x_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	x22, x1
	mov	x19, x0
	mov	w1, #40
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	bl	_iio_priv
	mov	x21, x0
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x8, _I2C_FUNC_I2C@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_I2C@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_check_functionality
	cbz	x0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _vz89x_i2c_xfer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _vz89x_i2c_xfer@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_11
LBB0_4:
Lloh7:
	adrp	x8, _I2C_FUNC_SMBUS_WORD_DATA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_WORD_DATA@GOTPAGEOFF]
	ldr	w0, [x19, #4]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _I2C_FUNC_SMBUS_BYTE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _I2C_FUNC_SMBUS_BYTE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_i2c_check_functionality
	cbz	x0, LBB0_10
; %bb.5:
Lloh13:
	adrp	x8, _vz89x_smbus_xfer@GOTPAGE
Lloh14:
	ldr	x8, [x8, _vz89x_smbus_xfer@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	str	w8, [x21, #32]
Lloh15:
	adrp	x8, _vz89x_dt_ids@GOTPAGE
Lloh16:
	ldr	x8, [x8, _vz89x_dt_ids@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_of_match_device
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w22, [x0]
	b	LBB0_9
LBB0_8:
	ldr	w22, [x22]
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
Lloh18:
	adrp	x8, _vz89x_chips@GOTPAGE
Lloh19:
	ldr	x8, [x8, _vz89x_chips@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	add	x8, x8, w22, sxtw #3
	str	x8, [x21]
Lloh21:
	adrp	x8, _jiffies@GOTPAGE
Lloh22:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh23:
	adrp	x9, _HZ@GOTPAGE
Lloh24:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
Lloh26:
	ldr	x9, [x9]
	sub	x8, x8, x9
	stp	x8, x19, [x21, #16]
	add	x0, x21, #8
	bl	_mutex_init
Lloh27:
	adrp	x8, _vz89x_info@GOTPAGE
Lloh28:
	ldr	x8, [x8, _vz89x_info@GOTPAGEOFF]
	stp	x8, x19, [x20, #16]
	mov	x0, x19
	bl	_dev_name
Lloh29:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	stp	w8, w0, [x20, #8]
	ldr	x8, [x21]
	ldr	d0, [x8]
	str	d0, [x20]
	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_10:
Lloh32:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w0, w8
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_I2C_FUNC_I2C,4,2               ; @I2C_FUNC_I2C
	.comm	_vz89x_i2c_xfer,4,2             ; @vz89x_i2c_xfer
	.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	_vz89x_smbus_xfer,4,2           ; @vz89x_smbus_xfer
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_vz89x_dt_ids,4,2               ; @vz89x_dt_ids
	.comm	_vz89x_chips,8,3                ; @vz89x_chips
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,8,3                         ; @HZ
	.comm	_vz89x_info,4,2                 ; @vz89x_info
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.no_dead_strip	_vz89x_probe
.subsections_via_symbols
