	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxd2880_spi_probe
_cxd2880_spi_probe:                     ## @cxd2880_spi_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$120, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r15
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devm_regulator_get_optional
	movq	%rax, 112(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	112(%r15), %rdi
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	callq	_PTR_ERR
	movl	%eax, %r13d
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%r13d, %ecx
	addl	(%rax), %ecx
	je	LBB0_28
## %bb.7:
	movq	$0, 112(%r15)
	jmp	LBB0_9
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_29
LBB0_8:
	callq	_regulator_enable
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_28
LBB0_9:
	movq	%rbx, 104(%r15)
	leaq	100(%r15), %r14
	movq	%r14, %rdi
	callq	_mutex_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_dev_set_drvdata
	movq	%rbx, -56(%rbp)
	movq	%r14, -64(%rbp)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_adapter_nr@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rcx
	callq	_dvb_register_adapter
	testl	%eax, %eax
	js	LBB0_10
## %bb.11:
	movq	_cxd2880_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r15), %r14
	leaq	-64(%rbp), %rdx
	movq	%r14, %rsi
	callq	_dvb_attach
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_dvb_register_frontend
	testl	%eax, %eax
	js	LBB0_14
## %bb.15:
	movq	_DMX_TS_FILTERING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	8(%r15), %r12
	movl	%eax, 32(%r15)
	movq	%r15, 64(%r15)
	movq	_CXD2880_MAX_FILTER_SIZE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, 56(%r15)
	movq	%rax, 48(%r15)
	movq	_cxd2880_start_feed@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r15)
	movq	_cxd2880_stop_feed@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r15)
	movq	%r12, %rdi
	callq	_dvb_dmx_init
	testl	%eax, %eax
	js	LBB0_16
## %bb.17:
	movq	(%rbx), %rax
	leaq	72(%r15), %rbx
	movq	%rax, 88(%r15)
	movq	%r12, 80(%r15)
	movq	$0, 72(%r15)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_dvb_dmxdev_init
	testl	%eax, %eax
	js	LBB0_18
## %bb.19:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_DMX_FRONTEND_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r15, %rbx
	addq	$96, %rbx
	movl	%eax, 96(%r15)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	*8(%r15)
	testl	%eax, %eax
	js	LBB0_20
## %bb.21:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	*16(%r15)
	testl	%eax, %eax
	js	LBB0_22
## %bb.30:
	leaq	L_.str.9(%rip), %rdi
	callq	_pr_info
	xorl	%r13d, %r13d
	jmp	LBB0_29
LBB0_10:
	movl	%eax, %r13d
	leaq	L_.str.3(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_28
LBB0_12:
	leaq	L_.str.4(%rip), %rdi
	callq	_pr_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_27
LBB0_14:
	movl	%eax, %r13d
	leaq	L_.str.5(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_26
LBB0_16:
	movl	%eax, %r13d
	leaq	L_.str.6(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_25
LBB0_18:
	movl	%eax, %r13d
	leaq	L_.str.7(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_24
LBB0_20:
	movl	%eax, %r13d
	leaq	L_.str.8(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_23
LBB0_22:
	movl	%eax, %r13d
	leaq	L_.str.5(%rip), %rdi
	callq	_pr_err
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	*24(%r15)
LBB0_23:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dvb_dmxdev_release
LBB0_24:
	movq	%r12, %rdi
	callq	_dvb_dmx_release
LBB0_25:
	movq	%r14, %rdi
	callq	_dvb_unregister_frontend
LBB0_26:
	movq	%r14, %rdi
	callq	_dvb_frontend_detach
LBB0_27:
	movq	%r15, %rdi
	callq	_dvb_unregister_adapter
LBB0_28:
	movq	%r15, %rdi
	callq	_kfree
LBB0_29:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid arg.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"vcc"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.2:                               ## @.str.2
	.asciz	"CXD2880"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_adapter_nr,4,2                 ## @adapter_nr
L_.str.3:                               ## @.str.3
	.asciz	"dvb_register_adapter() failed\n"

	.comm	_cxd2880_attach,4,2             ## @cxd2880_attach
L_.str.4:                               ## @.str.4
	.asciz	"cxd2880_attach failed\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.5:                               ## @.str.5
	.asciz	"dvb_register_frontend() failed\n"

	.comm	_DMX_TS_FILTERING,4,2           ## @DMX_TS_FILTERING
	.comm	_CXD2880_MAX_FILTER_SIZE,8,3    ## @CXD2880_MAX_FILTER_SIZE
	.comm	_cxd2880_start_feed,4,2         ## @cxd2880_start_feed
	.comm	_cxd2880_stop_feed,4,2          ## @cxd2880_stop_feed
L_.str.6:                               ## @.str.6
	.asciz	"dvb_dmx_init() failed\n"

L_.str.7:                               ## @.str.7
	.asciz	"dvb_dmxdev_init() failed\n"

	.comm	_DMX_FRONTEND_0,4,2             ## @DMX_FRONTEND_0
L_.str.8:                               ## @.str.8
	.asciz	"add_frontend() failed\n"

L_.str.9:                               ## @.str.9
	.asciz	"Sony CXD2880 has successfully attached.\n"

	.no_dead_strip	_cxd2880_spi_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxd2880_spi_probe
_cxd2880_spi_probe:                     ; @cxd2880_spi_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #120
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.2:
	mov	x19, x0
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_devm_regulator_get_optional
	str	x0, [x19, #112]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x19, #112]
	cbz	x8, LBB0_8
; %bb.3:
	bl	_PTR_ERR
	mov	x21, x0
Lloh5:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_29
; %bb.4:
	str	xzr, [x19, #112]
	b	LBB0_9
LBB0_5:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_30
LBB0_8:
	bl	_regulator_enable
	mov	x21, x0
	cbnz	w0, LBB0_29
LBB0_9:
	str	x20, [x19, #104]
	add	x21, x19, #100
	mov	x0, x21
	bl	_mutex_init
	mov	x0, x20
	mov	x1, x19
	bl	_dev_set_drvdata
	stp	x21, x20, [sp]
Lloh14:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x8, _adapter_nr@GOTPAGE
Lloh18:
	ldr	x8, [x8, _adapter_nr@GOTPAGEOFF]
Lloh19:
	ldr	w4, [x8]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	bl	_dvb_register_adapter
	tbnz	w0, #31, LBB0_17
; %bb.10:
Lloh22:
	adrp	x8, _cxd2880_attach@GOTPAGE
Lloh23:
	ldr	x8, [x8, _cxd2880_attach@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	add	x20, x19, #4
	mov	x2, sp
	mov	x1, x20
	bl	_dvb_attach
	cbz	w0, LBB0_18
; %bb.11:
	mov	x0, x19
	mov	x1, x20
	bl	_dvb_register_frontend
	tbnz	w0, #31, LBB0_19
; %bb.12:
Lloh25:
	adrp	x8, _DMX_TS_FILTERING@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DMX_TS_FILTERING@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	add	x22, x19, #8
	str	w8, [x19, #32]
Lloh28:
	adrp	x23, _CXD2880_MAX_FILTER_SIZE@GOTPAGE
Lloh29:
	ldr	x23, [x23, _CXD2880_MAX_FILTER_SIZE@GOTPAGEOFF]
	ldr	x8, [x23]
	stp	x8, x19, [x19, #56]
	str	x8, [x19, #48]
Lloh30:
	adrp	x8, _cxd2880_start_feed@GOTPAGE
Lloh31:
	ldr	x8, [x8, _cxd2880_start_feed@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _cxd2880_stop_feed@GOTPAGE
Lloh34:
	ldr	x9, [x9, _cxd2880_stop_feed@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #40]
	mov	x0, x22
	bl	_dvb_dmx_init
	tbnz	w0, #31, LBB0_20
; %bb.13:
	ldr	x8, [x23]
	mov	x23, x19
	str	xzr, [x23, #72]!
	stp	x22, x8, [x19, #80]
	mov	x0, x23
	mov	x1, x19
	bl	_dvb_dmxdev_init
	tbnz	w0, #31, LBB0_21
; %bb.14:
Lloh36:
	adrp	x8, _DMX_FRONTEND_0@GOTPAGE
Lloh37:
	ldr	x8, [x8, _DMX_FRONTEND_0@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	mov	x24, x19
	str	w8, [x24, #96]!
	ldur	x8, [x24, #-88]
	mov	x0, x22
	mov	x1, x24
	blr	x8
	tbnz	w0, #31, LBB0_22
; %bb.15:
	ldr	x8, [x19, #16]
	mov	x0, x22
	mov	x1, x24
	blr	x8
	tbnz	w0, #31, LBB0_23
; %bb.16:
Lloh39:
	adrp	x0, l_.str.9@PAGE
Lloh40:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_pr_info
	mov	w21, #0
	b	LBB0_30
LBB0_17:
	mov	x21, x0
Lloh41:
	adrp	x0, l_.str.3@PAGE
Lloh42:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_err
	b	LBB0_29
LBB0_18:
Lloh43:
	adrp	x0, l_.str.4@PAGE
Lloh44:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_err
Lloh45:
	adrp	x8, _ENODEV@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_28
LBB0_19:
	mov	x21, x0
Lloh48:
	adrp	x0, l_.str.5@PAGE
Lloh49:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_err
	b	LBB0_27
LBB0_20:
	mov	x21, x0
Lloh50:
	adrp	x0, l_.str.6@PAGE
Lloh51:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_err
	b	LBB0_26
LBB0_21:
	mov	x21, x0
Lloh52:
	adrp	x0, l_.str.7@PAGE
Lloh53:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_pr_err
	b	LBB0_25
LBB0_22:
	mov	x21, x0
Lloh54:
	adrp	x0, l_.str.8@PAGE
Lloh55:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_pr_err
	b	LBB0_24
LBB0_23:
	mov	x21, x0
Lloh56:
	adrp	x0, l_.str.5@PAGE
Lloh57:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_err
	ldr	x8, [x19, #24]
	mov	x0, x22
	mov	x1, x24
	blr	x8
LBB0_24:
	mov	x0, x23
	bl	_dvb_dmxdev_release
LBB0_25:
	mov	x0, x22
	bl	_dvb_dmx_release
LBB0_26:
	mov	x0, x20
	bl	_dvb_unregister_frontend
LBB0_27:
	mov	x0, x20
	bl	_dvb_frontend_detach
LBB0_28:
	mov	x0, x19
	bl	_dvb_unregister_adapter
LBB0_29:
	mov	x0, x19
	bl	_kfree
LBB0_30:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid arg.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"vcc"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.2:                               ; @.str.2
	.asciz	"CXD2880"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_adapter_nr,4,2                 ; @adapter_nr
l_.str.3:                               ; @.str.3
	.asciz	"dvb_register_adapter() failed\n"

	.comm	_cxd2880_attach,4,2             ; @cxd2880_attach
l_.str.4:                               ; @.str.4
	.asciz	"cxd2880_attach failed\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.5:                               ; @.str.5
	.asciz	"dvb_register_frontend() failed\n"

	.comm	_DMX_TS_FILTERING,4,2           ; @DMX_TS_FILTERING
	.comm	_CXD2880_MAX_FILTER_SIZE,8,3    ; @CXD2880_MAX_FILTER_SIZE
	.comm	_cxd2880_start_feed,4,2         ; @cxd2880_start_feed
	.comm	_cxd2880_stop_feed,4,2          ; @cxd2880_stop_feed
l_.str.6:                               ; @.str.6
	.asciz	"dvb_dmx_init() failed\n"

l_.str.7:                               ; @.str.7
	.asciz	"dvb_dmxdev_init() failed\n"

	.comm	_DMX_FRONTEND_0,4,2             ; @DMX_FRONTEND_0
l_.str.8:                               ; @.str.8
	.asciz	"add_frontend() failed\n"

l_.str.9:                               ; @.str.9
	.asciz	"Sony CXD2880 has successfully attached.\n"

	.no_dead_strip	_cxd2880_spi_probe
.subsections_via_symbols
