	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mantis_pci_probe
_mantis_pci_probe:                      ## @mantis_pci_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	(%rbx), %rax
	movq	_devs@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movl	%ecx, 28(%r15)
	movq	_verbose@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%r15)
	movq	%r14, 16(%r15)
	movq	8(%rax), %rcx
	movq	_mantis_irq_handler@GOTPCREL(%rip), %rdx
	movq	%rdx, (%rcx)
	movq	%rcx, 8(%r15)
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	%r15, %rdi
	callq	_spin_lock_init
	movq	%r15, %rdi
	callq	_mantis_pci_init
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	movl	$1, %esi
	movl	%r14d, %ecx
	callq	_dprintk
	jmp	LBB0_24
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_25
LBB0_4:
	movq	_STREAM_TO_HIF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_mantis_stream_control
	testl	%eax, %eax
	js	LBB0_5
## %bb.7:
	movq	%r15, %rdi
	callq	_mantis_i2c_init
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:
	movq	%r15, %rdi
	callq	_mantis_get_mac
	testl	%eax, %eax
	js	LBB0_10
## %bb.12:
	movq	%r15, %rdi
	callq	_mantis_dma_init
	testl	%eax, %eax
	js	LBB0_13
## %bb.14:
	movq	%r15, %rdi
	callq	_mantis_dvb_init
	testl	%eax, %eax
	js	LBB0_15
## %bb.16:
	movq	%r15, %rdi
	callq	_mantis_input_init
	testl	%eax, %eax
	js	LBB0_17
## %bb.18:
	movq	%r15, %rdi
	callq	_mantis_uart_init
	testl	%eax, %eax
	js	LBB0_19
## %bb.26:
	incl	(%rbx)
	xorl	%r14d, %r14d
	jmp	LBB0_25
LBB0_5:
	movl	%eax, %r14d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_6
LBB0_8:
	movl	%eax, %r14d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rdx
LBB0_6:
	movl	$1, %esi
	movl	%r14d, %ecx
	callq	_dprintk
	jmp	LBB0_23
LBB0_10:
	movl	%eax, %r14d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_11
LBB0_13:
	movl	%eax, %r14d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rdx
LBB0_11:
	movl	$1, %esi
	movl	%r14d, %ecx
	callq	_dprintk
	jmp	LBB0_22
LBB0_15:
	movl	%eax, %r14d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rdx
	movl	$1, %esi
	movl	%r14d, %ecx
	callq	_dprintk
	jmp	LBB0_21
LBB0_17:
	movl	%eax, %r14d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rdx
	movl	$1, %esi
	movl	%r14d, %ecx
	callq	_dprintk
	jmp	LBB0_20
LBB0_19:
	movl	%eax, %r14d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rdx
	movl	$1, %esi
	movl	%r14d, %ecx
	callq	_dprintk
	movq	%r15, %rdi
	callq	_mantis_input_exit
LBB0_20:
	movq	%r15, %rdi
	callq	_mantis_dvb_exit
LBB0_21:
	movq	%r15, %rdi
	callq	_mantis_dma_exit
LBB0_22:
	movq	%r15, %rdi
	callq	_mantis_i2c_exit
LBB0_23:
	movq	%r15, %rdi
	callq	_mantis_pci_exit
LBB0_24:
	movq	%r15, %rdi
	callq	_kfree
LBB0_25:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_devs,4,2                       ## @devs
	.comm	_verbose,4,2                    ## @verbose
	.comm	_mantis_irq_handler,4,2         ## @mantis_irq_handler
	.comm	_MANTIS_ERROR,4,2               ## @MANTIS_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR: Mantis PCI initialization failed <%d>"

	.comm	_STREAM_TO_HIF,4,2              ## @STREAM_TO_HIF
L_.str.1:                               ## @.str.1
	.asciz	"ERROR: Mantis stream control failed <%d>"

L_.str.2:                               ## @.str.2
	.asciz	"ERROR: Mantis I2C initialization failed <%d>"

L_.str.3:                               ## @.str.3
	.asciz	"ERROR: Mantis MAC address read failed <%d>"

L_.str.4:                               ## @.str.4
	.asciz	"ERROR: Mantis DMA initialization failed <%d>"

L_.str.5:                               ## @.str.5
	.asciz	"ERROR: Mantis DVB initialization failed <%d>"

L_.str.6:                               ## @.str.6
	.asciz	"ERROR: Mantis UART initialization failed <%d>"

	.no_dead_strip	_mantis_pci_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mantis_pci_probe
_mantis_pci_probe:                      ; @mantis_pci_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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x21]
Lloh3:
	adrp	x21, _devs@GOTPAGE
Lloh4:
	ldr	x21, [x21, _devs@GOTPAGEOFF]
Lloh5:
	adrp	x9, _verbose@GOTPAGE
Lloh6:
	ldr	x9, [x9, _verbose@GOTPAGEOFF]
	ldr	w10, [x21]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w10, [x0, #24]
Lloh8:
	adrp	x9, _mantis_irq_handler@GOTPAGE
Lloh9:
	ldr	x9, [x9, _mantis_irq_handler@GOTPAGEOFF]
	ldr	x10, [x8, #8]
	str	x9, [x10]
	stp	x10, x20, [x0, #8]
	ldr	w8, [x8]
	str	w8, [x0, #4]
	bl	_spin_lock_init
	mov	x0, x19
	bl	_mantis_pci_init
	cbz	w0, LBB0_4
; %bb.2:
	mov	x20, x0
Lloh10:
	adrp	x8, _MANTIS_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MANTIS_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #1
	mov	x3, x20
	bl	_dprintk
	b	LBB0_25
LBB0_3:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_26
LBB0_4:
Lloh18:
	adrp	x8, _STREAM_TO_HIF@GOTPAGE
Lloh19:
	ldr	x8, [x8, _STREAM_TO_HIF@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mantis_stream_control
	tbnz	w0, #31, LBB0_12
; %bb.5:
	mov	x0, x19
	bl	_mantis_i2c_init
	tbnz	w0, #31, LBB0_13
; %bb.6:
	mov	x0, x19
	bl	_mantis_get_mac
	tbnz	w0, #31, LBB0_15
; %bb.7:
	mov	x0, x19
	bl	_mantis_dma_init
	tbnz	w0, #31, LBB0_16
; %bb.8:
	mov	x0, x19
	bl	_mantis_dvb_init
	tbnz	w0, #31, LBB0_18
; %bb.9:
	mov	x0, x19
	bl	_mantis_input_init
	tbnz	w0, #31, LBB0_19
; %bb.10:
	mov	x0, x19
	bl	_mantis_uart_init
	tbnz	w0, #31, LBB0_20
; %bb.11:
	mov	w20, #0
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	b	LBB0_26
LBB0_12:
	mov	x20, x0
Lloh21:
	adrp	x8, _MANTIS_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MANTIS_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x2, l_.str.1@PAGE
Lloh25:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_13:
	mov	x20, x0
Lloh26:
	adrp	x8, _MANTIS_ERROR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MANTIS_ERROR@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x2, l_.str.2@PAGE
Lloh30:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_14:
	mov	w1, #1
	mov	x3, x20
	bl	_dprintk
	b	LBB0_24
LBB0_15:
	mov	x20, x0
Lloh31:
	adrp	x8, _MANTIS_ERROR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MANTIS_ERROR@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
Lloh34:
	adrp	x2, l_.str.3@PAGE
Lloh35:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_17
LBB0_16:
	mov	x20, x0
Lloh36:
	adrp	x8, _MANTIS_ERROR@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MANTIS_ERROR@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
Lloh39:
	adrp	x2, l_.str.4@PAGE
Lloh40:
	add	x2, x2, l_.str.4@PAGEOFF
LBB0_17:
	mov	w1, #1
	mov	x3, x20
	bl	_dprintk
	b	LBB0_23
LBB0_18:
	mov	x20, x0
Lloh41:
	adrp	x8, _MANTIS_ERROR@GOTPAGE
Lloh42:
	ldr	x8, [x8, _MANTIS_ERROR@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x2, l_.str.5@PAGE
Lloh45:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	w1, #1
	mov	x3, x20
	bl	_dprintk
	b	LBB0_22
LBB0_19:
	mov	x20, x0
Lloh46:
	adrp	x8, _MANTIS_ERROR@GOTPAGE
Lloh47:
	ldr	x8, [x8, _MANTIS_ERROR@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
Lloh49:
	adrp	x2, l_.str.5@PAGE
Lloh50:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	w1, #1
	mov	x3, x20
	bl	_dprintk
	b	LBB0_21
LBB0_20:
	mov	x20, x0
Lloh51:
	adrp	x8, _MANTIS_ERROR@GOTPAGE
Lloh52:
	ldr	x8, [x8, _MANTIS_ERROR@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
Lloh54:
	adrp	x2, l_.str.6@PAGE
Lloh55:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	w1, #1
	mov	x3, x20
	bl	_dprintk
	mov	x0, x19
	bl	_mantis_input_exit
LBB0_21:
	mov	x0, x19
	bl	_mantis_dvb_exit
LBB0_22:
	mov	x0, x19
	bl	_mantis_dma_exit
LBB0_23:
	mov	x0, x19
	bl	_mantis_i2c_exit
LBB0_24:
	mov	x0, x19
	bl	_mantis_pci_exit
LBB0_25:
	mov	x0, x19
	bl	_kfree
LBB0_26:
	mov	x0, 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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_devs,4,2                       ; @devs
	.comm	_verbose,4,2                    ; @verbose
	.comm	_mantis_irq_handler,4,2         ; @mantis_irq_handler
	.comm	_MANTIS_ERROR,4,2               ; @MANTIS_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR: Mantis PCI initialization failed <%d>"

	.comm	_STREAM_TO_HIF,4,2              ; @STREAM_TO_HIF
l_.str.1:                               ; @.str.1
	.asciz	"ERROR: Mantis stream control failed <%d>"

l_.str.2:                               ; @.str.2
	.asciz	"ERROR: Mantis I2C initialization failed <%d>"

l_.str.3:                               ; @.str.3
	.asciz	"ERROR: Mantis MAC address read failed <%d>"

l_.str.4:                               ; @.str.4
	.asciz	"ERROR: Mantis DMA initialization failed <%d>"

l_.str.5:                               ; @.str.5
	.asciz	"ERROR: Mantis DVB initialization failed <%d>"

l_.str.6:                               ; @.str.6
	.asciz	"ERROR: Mantis UART initialization failed <%d>"

	.no_dead_strip	_mantis_pci_probe
.subsections_via_symbols
