	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mc3230_probe
_mc3230_probe:                          ## @mc3230_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, %r15
	movq	_MC3230_REG_CHIP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_smbus_read_byte_data
	movq	_MC3230_CHIP_ID@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.2:
	movq	_MC3230_REG_PRODUCT_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	_MC3230_PRODUCT_CODE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.3:
	movq	%r15, %rdi
	movl	$8, %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, %r14
	movq	%r15, (%rax)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_i2c_set_clientdata
	movq	%r15, 32(%r12)
	movq	_mc3230_info@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r12)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%r12)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	_mc3230_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 12(%r12)
	callq	_ARRAY_SIZE
	movl	%eax, 8(%r12)
	movq	_MC3230_MODE_OPCON_WAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_mc3230_set_opcon
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movq	%r12, %rdi
	callq	_iio_device_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_MC3230_MODE_OPCON_STANDBY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_mc3230_set_opcon
	jmp	LBB0_9
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	subl	(%rcx), %ebx
	testl	%eax, %eax
	cmovsl	%eax, %ebx
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_6:
	movl	%eax, %ebx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_MC3230_REG_CHIP_ID,4,2         ## @MC3230_REG_CHIP_ID
	.comm	_MC3230_CHIP_ID,4,2             ## @MC3230_CHIP_ID
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_MC3230_REG_PRODUCT_CODE,4,2    ## @MC3230_REG_PRODUCT_CODE
	.comm	_MC3230_PRODUCT_CODE,4,2        ## @MC3230_PRODUCT_CODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"iio allocation failed!\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_mc3230_info,4,2                ## @mc3230_info
L_.str.1:                               ## @.str.1
	.asciz	"mc3230"

	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_mc3230_channels,4,2            ## @mc3230_channels
	.comm	_MC3230_MODE_OPCON_WAKE,4,2     ## @MC3230_MODE_OPCON_WAKE
L_.str.2:                               ## @.str.2
	.asciz	"device_register failed\n"

	.comm	_MC3230_MODE_OPCON_STANDBY,4,2  ## @MC3230_MODE_OPCON_STANDBY
	.no_dead_strip	_mc3230_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mc3230_probe
_mc3230_probe:                          ; @mc3230_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
Lloh0:
	adrp	x8, _MC3230_REG_CHIP_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MC3230_REG_CHIP_ID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_smbus_read_byte_data
Lloh3:
	adrp	x8, _MC3230_CHIP_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MC3230_CHIP_ID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.1:
Lloh6:
	adrp	x8, _MC3230_REG_PRODUCT_CODE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MC3230_REG_PRODUCT_CODE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_i2c_smbus_read_byte_data
Lloh9:
	adrp	x8, _MC3230_PRODUCT_CODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MC3230_PRODUCT_CODE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.2:
	mov	x0, x19
	mov	w1, #8
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_8
; %bb.3:
	mov	x21, x0
	bl	_iio_priv
	mov	x20, x0
	str	x19, [x0]
	mov	x0, x19
	mov	x1, x21
	bl	_i2c_set_clientdata
Lloh12:
	adrp	x8, _mc3230_info@GOTPAGE
Lloh13:
	ldr	x8, [x8, _mc3230_info@GOTPAGEOFF]
	stp	x8, x19, [x21, #24]
Lloh14:
	adrp	x8, l_.str.1@PAGE
Lloh15:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x21]
Lloh16:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _mc3230_channels@GOTPAGE
Lloh20:
	ldr	x9, [x9, _mc3230_channels@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x9]
	stp	w0, w8, [x21, #12]
	bl	_ARRAY_SIZE
	str	w0, [x21, #8]
Lloh22:
	adrp	x8, _MC3230_MODE_OPCON_WAKE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MC3230_MODE_OPCON_WAKE@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mc3230_set_opcon
	tbnz	w0, #31, LBB0_9
; %bb.4:
	mov	x0, x21
	bl	_iio_device_register
	mov	x22, x0
	tbz	w0, #31, LBB0_7
; %bb.5:
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh27:
	adrp	x8, _MC3230_MODE_OPCON_STANDBY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MC3230_MODE_OPCON_STANDBY@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mc3230_set_opcon
	b	LBB0_7
LBB0_6:
Lloh30:
	adrp	x8, _ENODEV@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmp	w0, #0
	csneg	w22, w0, w8, lt
LBB0_7:
	mov	x0, x22
	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
LBB0_8:
Lloh33:
	adrp	x1, l_.str@PAGE
Lloh34:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh35:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_7
LBB0_9:
	mov	x22, x0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_MC3230_REG_CHIP_ID,4,2         ; @MC3230_REG_CHIP_ID
	.comm	_MC3230_CHIP_ID,4,2             ; @MC3230_CHIP_ID
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_MC3230_REG_PRODUCT_CODE,4,2    ; @MC3230_REG_PRODUCT_CODE
	.comm	_MC3230_PRODUCT_CODE,4,2        ; @MC3230_PRODUCT_CODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"iio allocation failed!\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_mc3230_info,4,2                ; @mc3230_info
l_.str.1:                               ; @.str.1
	.asciz	"mc3230"

	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_mc3230_channels,4,2            ; @mc3230_channels
	.comm	_MC3230_MODE_OPCON_WAKE,4,2     ; @MC3230_MODE_OPCON_WAKE
l_.str.2:                               ; @.str.2
	.asciz	"device_register failed\n"

	.comm	_MC3230_MODE_OPCON_STANDBY,4,2  ; @MC3230_MODE_OPCON_STANDBY
	.no_dead_strip	_mc3230_probe
.subsections_via_symbols
