	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rfd77402_probe
_rfd77402_probe:                        ## @rfd77402_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, %r12
	movq	_RFD77402_MOD_CHIP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_smbus_read_word_data
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_11
## %bb.1:
	addl	$-44291, %ebx                   ## imm = 0xFFFF52FD
	cmpl	$-3, %ebx
	ja	LBB0_4
## %bb.2:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	%r12, %rdi
	movl	$16, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r14
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_i2c_set_clientdata
	movq	%r12, 8(%r14)
	movq	%r14, %rdi
	callq	_mutex_init
	movq	%r12, 24(%r15)
	movq	_rfd77402_info@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r15)
	movq	_rfd77402_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 12(%r15)
	callq	_ARRAY_SIZE
	movl	%eax, 8(%r15)
	movq	_RFD77402_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%r14, %rdi
	callq	_rfd77402_init
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movq	%r15, %rdi
	callq	_iio_device_register
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_rfd77402_powerdown
	jmp	LBB0_11
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%eax, %ebx
	jmp	LBB0_11
LBB0_9:
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_RFD77402_MOD_CHIP_ID,4,2       ## @RFD77402_MOD_CHIP_ID
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_rfd77402_info,4,2              ## @rfd77402_info
	.comm	_rfd77402_channels,4,2          ## @rfd77402_channels
	.comm	_RFD77402_DRV_NAME,4,2          ## @RFD77402_DRV_NAME
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.no_dead_strip	_rfd77402_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rfd77402_probe
_rfd77402_probe:                        ; @rfd77402_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	x21, x0
Lloh0:
	adrp	x8, _RFD77402_MOD_CHIP_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RFD77402_MOD_CHIP_ID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_smbus_read_word_data
	mov	x22, x0
	tbnz	w0, #31, LBB0_9
; %bb.1:
	mov	w8, #-44291
	add	w8, w22, w8
	cmn	w8, #3
	b.hi	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
	mov	x0, x21
	mov	w1, #16
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_7
; %bb.4:
	mov	x19, x0
	bl	_iio_priv
	mov	x20, x0
	mov	x0, x21
	mov	x1, x19
	bl	_i2c_set_clientdata
	str	x21, [x20, #8]
	mov	x0, x20
	bl	_mutex_init
Lloh5:
	adrp	x8, _rfd77402_info@GOTPAGE
Lloh6:
	ldr	x8, [x8, _rfd77402_info@GOTPAGEOFF]
	stp	x8, x21, [x19, #16]
Lloh7:
	adrp	x8, _rfd77402_channels@GOTPAGE
Lloh8:
	ldr	x8, [x8, _rfd77402_channels@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	str	w0, [x19, #12]
	bl	_ARRAY_SIZE
	str	w0, [x19, #8]
Lloh10:
	adrp	x8, _RFD77402_DRV_NAME@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RFD77402_DRV_NAME@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _INDIO_DIRECT_MODE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	mov	x0, x20
	bl	_rfd77402_init
	tbnz	w0, #31, LBB0_10
; %bb.5:
	mov	x0, x19
	bl	_iio_device_register
	mov	x22, x0
	cbz	w0, LBB0_9
; %bb.6:
	mov	x0, x20
	bl	_rfd77402_powerdown
	b	LBB0_9
LBB0_7:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_9:
	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_10:
	mov	x22, x0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_RFD77402_MOD_CHIP_ID,4,2       ; @RFD77402_MOD_CHIP_ID
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_rfd77402_info,4,2              ; @rfd77402_info
	.comm	_rfd77402_channels,4,2          ; @rfd77402_channels
	.comm	_RFD77402_DRV_NAME,4,2          ; @RFD77402_DRV_NAME
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.no_dead_strip	_rfd77402_probe
.subsections_via_symbols
