	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxp_probe
_pxp_probe:                             ## @pxp_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$64, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_clk_get
	movl	%eax, (%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	(%r14), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_6
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_4:
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movl	%eax, 56(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movl	56(%r14), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
LBB0_6:
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_dev_err
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_7
## %bb.9:
	movq	_pxp_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r15, %rdi
	callq	_dev_name
	movq	%r14, (%rsp)
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	movl	%eax, %r9d
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	js	LBB0_15
## %bb.10:
	movl	(%r14), %edi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	js	LBB0_16
## %bb.11:
	movq	%r14, %rdi
	callq	_pxp_soft_reset
	testl	%eax, %eax
	js	LBB0_17
## %bb.12:
	leaq	52(%r14), %rdi
	callq	_spin_lock_init
	leaq	4(%r14), %r12
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_v4l2_device_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_21
## %bb.13:
	leaq	48(%r14), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_atomic_set
	leaq	12(%r14), %r13
	movq	%r13, %rdi
	callq	_mutex_init
	movq	%r14, %rax
	addq	$16, %rax
	movq	_pxp_videodev@GOTPCREL(%rip), %rcx
	movups	(%rcx), %xmm0
	movups	%xmm0, 16(%r14)
	movq	%r13, 40(%r14)
	movq	%rax, %r13
	movq	%r12, 32(%r14)
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_video_set_drvdata
	movq	16(%r14), %rdi
	movq	_pxp_videodev@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str.5(%rip), %rdx
	movl	$8, %esi
	callq	_snprintf
	movl	24(%r14), %edx
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	callq	_v4l2_info
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	_m2m_ops@GOTPCREL(%rip), %rdi
	callq	_v4l2_m2m_init
	movl	%eax, 8(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_18
## %bb.14:
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	callq	_v4l2_err
	movl	8(%r14), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_20
LBB0_15:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_6
LBB0_16:
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_17:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_21
LBB0_18:
	movq	_VFL_TYPE_GRABBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_video_register_device
	testl	%eax, %eax
	je	LBB0_7
## %bb.19:
	movl	%eax, %r15d
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	callq	_v4l2_err
	movl	8(%r14), %edi
	callq	_v4l2_m2m_release
	movl	%r15d, %ebx
LBB0_20:
	movq	%r12, %rdi
	callq	_v4l2_device_unregister
LBB0_21:
	movl	(%r14), %edi
	callq	_clk_disable_unprepare
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"axi"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to get clk: %d\n"

	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
L_.str.2:                               ## @.str.2
	.asciz	"Failed to map register space: %d\n"

	.comm	_pxp_irq_handler,4,2            ## @pxp_irq_handler
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.3:                               ## @.str.3
	.asciz	"Failed to request irq: %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"PXP reset timeout: %d\n"

	.comm	_pxp_videodev,32,3              ## @pxp_videodev
L_.str.5:                               ## @.str.5
	.asciz	"%s"

L_.str.6:                               ## @.str.6
	.asciz	"Device registered as /dev/video%d\n"

	.comm	_m2m_ops,4,2                    ## @m2m_ops
L_.str.7:                               ## @.str.7
	.asciz	"Failed to init mem2mem device\n"

	.comm	_VFL_TYPE_GRABBER,4,2           ## @VFL_TYPE_GRABBER
L_.str.8:                               ## @.str.8
	.asciz	"Failed to register video device\n"

	.no_dead_strip	_pxp_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxp_probe
_pxp_probe:                             ; @pxp_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #64
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_devm_clk_get
	str	w0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x19]
	bl	_PTR_ERR
	mov	x21, x0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_3:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_4:
Lloh10:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x20
	bl	_devm_ioremap_resource
	str	w0, [x19, #56]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.5:
	ldr	w0, [x19, #56]
	bl	_PTR_ERR
	mov	x21, x0
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_6:
	mov	x0, x20
	mov	x2, x21
	bl	_dev_err
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x0, x20
	mov	w1, #0
	bl	_platform_get_irq
	mov	x21, x0
	tbnz	w0, #31, LBB0_7
; %bb.9:
Lloh15:
	adrp	x8, _pxp_irq_handler@GOTPAGE
Lloh16:
	ldr	x8, [x8, _pxp_irq_handler@GOTPAGEOFF]
Lloh17:
	ldr	w22, [x8]
Lloh18:
	adrp	x8, _IRQF_ONESHOT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh20:
	ldr	w23, [x8]
	mov	x0, x20
	bl	_dev_name
	mov	x5, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, #0
	mov	x3, x22
	mov	x4, x23
	mov	x6, x19
	bl	_devm_request_threaded_irq
	tbnz	w0, #31, LBB0_15
; %bb.10:
	ldr	w0, [x19]
	bl	_clk_prepare_enable
	tbnz	w0, #31, LBB0_16
; %bb.11:
	mov	x0, x19
	bl	_pxp_soft_reset
	tbnz	w0, #31, LBB0_17
; %bb.12:
	add	x0, x19, #52
	bl	_spin_lock_init
	add	x22, x19, #4
	mov	x0, x20
	mov	x1, x22
	bl	_v4l2_device_register
	mov	x21, x0
	cbnz	w0, LBB0_21
; %bb.13:
	add	x0, x19, #48
	mov	w1, #0
	bl	_atomic_set
	add	x23, x19, #12
	mov	x0, x23
	bl	_mutex_init
	add	x21, x19, #16
Lloh21:
	adrp	x24, _pxp_videodev@GOTPAGE
Lloh22:
	ldr	x24, [x24, _pxp_videodev@GOTPAGEOFF]
	ldr	q0, [x24]
	str	q0, [x19, #16]
	stp	x22, x23, [x19, #32]
	mov	x0, x21
	mov	x1, x19
	bl	_video_set_drvdata
	ldr	x0, [x19, #16]
	ldr	x3, [x24]
Lloh23:
	adrp	x2, l_.str.5@PAGE
Lloh24:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	w1, #8
	bl	_snprintf
	ldr	w2, [x19, #24]
Lloh25:
	adrp	x1, l_.str.6@PAGE
Lloh26:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_v4l2_info
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
Lloh27:
	adrp	x0, _m2m_ops@GOTPAGE
Lloh28:
	ldr	x0, [x0, _m2m_ops@GOTPAGEOFF]
	bl	_v4l2_m2m_init
	str	w0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_18
; %bb.14:
Lloh29:
	adrp	x1, l_.str.7@PAGE
Lloh30:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	bl	_v4l2_err
	ldr	w0, [x19, #8]
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_20
LBB0_15:
	mov	x21, x0
Lloh31:
	adrp	x1, l_.str.3@PAGE
Lloh32:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_16:
	mov	x21, x0
	b	LBB0_7
LBB0_17:
	mov	x21, x0
Lloh33:
	adrp	x1, l_.str.4@PAGE
Lloh34:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_dev_err
	b	LBB0_21
LBB0_18:
Lloh35:
	adrp	x8, _VFL_TYPE_GRABBER@GOTPAGE
Lloh36:
	ldr	x8, [x8, _VFL_TYPE_GRABBER@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_video_register_device
	mov	x21, x0
	cbz	w0, LBB0_7
; %bb.19:
Lloh38:
	adrp	x1, l_.str.8@PAGE
Lloh39:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x22
	bl	_v4l2_err
	ldr	w0, [x19, #8]
	bl	_v4l2_m2m_release
LBB0_20:
	mov	x0, x22
	bl	_v4l2_device_unregister
LBB0_21:
	ldr	w0, [x19]
	bl	_clk_disable_unprepare
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"axi"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to get clk: %d\n"

	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
l_.str.2:                               ; @.str.2
	.asciz	"Failed to map register space: %d\n"

	.comm	_pxp_irq_handler,4,2            ; @pxp_irq_handler
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.3:                               ; @.str.3
	.asciz	"Failed to request irq: %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"PXP reset timeout: %d\n"

	.comm	_pxp_videodev,32,3              ; @pxp_videodev
l_.str.5:                               ; @.str.5
	.asciz	"%s"

l_.str.6:                               ; @.str.6
	.asciz	"Device registered as /dev/video%d\n"

	.comm	_m2m_ops,4,2                    ; @m2m_ops
l_.str.7:                               ; @.str.7
	.asciz	"Failed to init mem2mem device\n"

	.comm	_VFL_TYPE_GRABBER,4,2           ; @VFL_TYPE_GRABBER
l_.str.8:                               ; @.str.8
	.asciz	"Failed to register video device\n"

	.no_dead_strip	_pxp_probe
.subsections_via_symbols
