	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hopper_pci_probe
_hopper_pci_probe:                      ## @hopper_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	_hopper_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_5
## %bb.3:
	movl	%eax, %r14d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
LBB0_4:
	movl	$1, %esi
	movl	%r14d, %ecx
	callq	_dprintk
	jmp	LBB0_18
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_19
LBB0_5:
	movq	_STREAM_TO_HIF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_mantis_stream_control
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movq	%r15, %rdi
	callq	_mantis_i2c_init
	testl	%eax, %eax
	js	LBB0_8
## %bb.10:
	movq	%r15, %rdi
	callq	_mantis_get_mac
	testl	%eax, %eax
	js	LBB0_11
## %bb.12:
	movq	%r15, %rdi
	callq	_mantis_dma_init
	testl	%eax, %eax
	js	LBB0_13
## %bb.14:
	movq	%r15, %rdi
	callq	_mantis_dvb_init
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_15
## %bb.20:
	incl	(%rbx)
	jmp	LBB0_19
LBB0_6:
	movl	%eax, %r14d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_4
LBB0_8:
	movl	%eax, %r14d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_9
LBB0_11:
	movl	%eax, %r14d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rdx
LBB0_9:
	movl	$1, %esi
	movl	%r14d, %ecx
	callq	_dprintk
	jmp	LBB0_17
LBB0_13:
	movl	%eax, %r14d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rdx
	movl	$1, %esi
	movl	%r14d, %ecx
	callq	_dprintk
	jmp	LBB0_16
LBB0_15:
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.5(%rip), %rdx
	movl	$1, %esi
	movl	%r14d, %ecx
	callq	_dprintk
	movl	(%rbx), %edi
	leaq	L_.str.6(%rip), %rdx
	movl	$1, %esi
	movl	%r14d, %ecx
	callq	_dprintk
	movq	%r15, %rdi
	callq	_mantis_dma_exit
LBB0_16:
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rdx
	movl	$1, %esi
	movl	%r14d, %ecx
	callq	_dprintk
	movq	%r15, %rdi
	callq	_mantis_i2c_exit
LBB0_17:
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rdx
	movl	$1, %esi
	movl	%r14d, %ecx
	callq	_dprintk
	movq	%r15, %rdi
	callq	_mantis_pci_exit
LBB0_18:
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rdx
	movl	$1, %esi
	movl	%r14d, %ecx
	callq	_dprintk
	movq	%r15, %rdi
	callq	_kfree
LBB0_19:
	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	_hopper_irq_handler,4,2         ## @hopper_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 DMA exit! <%d>"

L_.str.7:                               ## @.str.7
	.asciz	"ERROR: Mantis I2C exit! <%d>"

L_.str.8:                               ## @.str.8
	.asciz	"ERROR: Mantis PCI exit! <%d>"

L_.str.9:                               ## @.str.9
	.asciz	"ERROR: Mantis free! <%d>"

	.no_dead_strip	_hopper_pci_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hopper_pci_probe
_hopper_pci_probe:                      ; @hopper_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_4
; %bb.1:
	mov	x19, x0
	ldr	x8, [x21]
Lloh3:
	adrp	x22, _devs@GOTPAGE
Lloh4:
	ldr	x22, [x22, _devs@GOTPAGEOFF]
Lloh5:
	adrp	x9, _verbose@GOTPAGE
Lloh6:
	ldr	x9, [x9, _verbose@GOTPAGEOFF]
	ldr	w10, [x22]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w10, [x0, #24]
Lloh8:
	adrp	x9, _hopper_irq_handler@GOTPAGE
Lloh9:
	ldr	x9, [x9, _hopper_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
Lloh10:
	adrp	x21, _MANTIS_ERROR@GOTPAGE
Lloh11:
	ldr	x21, [x21, _MANTIS_ERROR@GOTPAGEOFF]
	cbz	w0, LBB0_5
; %bb.2:
	mov	x20, x0
	ldr	w0, [x21]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
LBB0_3:
	mov	w1, #1
	mov	x3, x20
	bl	_dprintk
	b	LBB0_19
LBB0_4:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_20
LBB0_5:
Lloh17:
	adrp	x8, _STREAM_TO_HIF@GOTPAGE
Lloh18:
	ldr	x8, [x8, _STREAM_TO_HIF@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mantis_stream_control
	tbnz	w0, #31, LBB0_11
; %bb.6:
	mov	x0, x19
	bl	_mantis_i2c_init
	tbnz	w0, #31, LBB0_12
; %bb.7:
	mov	x0, x19
	bl	_mantis_get_mac
	tbnz	w0, #31, LBB0_13
; %bb.8:
	mov	x0, x19
	bl	_mantis_dma_init
	tbnz	w0, #31, LBB0_15
; %bb.9:
	mov	x0, x19
	bl	_mantis_dvb_init
	mov	x20, x0
	tbnz	w0, #31, LBB0_16
; %bb.10:
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	b	LBB0_20
LBB0_11:
	mov	x20, x0
	ldr	w0, [x21]
Lloh20:
	adrp	x2, l_.str.1@PAGE
Lloh21:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_12:
	mov	x20, x0
	ldr	w0, [x21]
Lloh22:
	adrp	x2, l_.str.2@PAGE
Lloh23:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_13:
	mov	x20, x0
	ldr	w0, [x21]
Lloh24:
	adrp	x2, l_.str.3@PAGE
Lloh25:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_14:
	mov	w1, #1
	mov	x3, x20
	bl	_dprintk
	b	LBB0_18
LBB0_15:
	mov	x20, x0
	ldr	w0, [x21]
Lloh26:
	adrp	x2, l_.str.4@PAGE
Lloh27:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w1, #1
	mov	x3, x20
	bl	_dprintk
	b	LBB0_17
LBB0_16:
	ldr	w0, [x21]
Lloh28:
	adrp	x2, l_.str.5@PAGE
Lloh29:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	w1, #1
	mov	x3, x20
	bl	_dprintk
	ldr	w0, [x21]
Lloh30:
	adrp	x2, l_.str.6@PAGE
Lloh31:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	w1, #1
	mov	x3, x20
	bl	_dprintk
	mov	x0, x19
	bl	_mantis_dma_exit
LBB0_17:
	ldr	w0, [x21]
Lloh32:
	adrp	x2, l_.str.7@PAGE
Lloh33:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	w1, #1
	mov	x3, x20
	bl	_dprintk
	mov	x0, x19
	bl	_mantis_i2c_exit
LBB0_18:
	ldr	w0, [x21]
Lloh34:
	adrp	x2, l_.str.8@PAGE
Lloh35:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	w1, #1
	mov	x3, x20
	bl	_dprintk
	mov	x0, x19
	bl	_mantis_pci_exit
LBB0_19:
	ldr	w0, [x21]
Lloh36:
	adrp	x2, l_.str.9@PAGE
Lloh37:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	w1, #1
	mov	x3, x20
	bl	_dprintk
	mov	x0, x19
	bl	_kfree
LBB0_20:
	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	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.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	_hopper_irq_handler,4,2         ; @hopper_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 DMA exit! <%d>"

l_.str.7:                               ; @.str.7
	.asciz	"ERROR: Mantis I2C exit! <%d>"

l_.str.8:                               ; @.str.8
	.asciz	"ERROR: Mantis PCI exit! <%d>"

l_.str.9:                               ; @.str.9
	.asciz	"ERROR: Mantis free! <%d>"

	.no_dead_strip	_hopper_pci_probe
.subsections_via_symbols
