	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qtnf_pcie_topaz_probe
_qtnf_pcie_topaz_probe:                 ## @qtnf_pcie_topaz_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
	movl	%esi, %r15d
	movq	%rdi, %r12
	callq	_get_bus_priv
	movq	%rax, %r14
	movq	32(%rax), %rbx
	movq	_qtnf_pcie_topaz_bus_ops@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r12)
	leaq	8(%r12), %rdi
	movq	_qtnf_topaz_fw_work_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	24(%r14), %rax
	movq	%rax, (%r14)
	cmpq	$0, 16(%r14)
	movq	_IRQF_NOBALANCING@GOTPCREL(%rip), %rax
	jne	LBB0_1
## %bb.2:
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	jmp	LBB0_3
LBB0_1:
	xorl	%ecx, %ecx
LBB0_3:
	orq	(%rax), %rcx
	leaq	4(%rbx), %rdi
	movl	(%rbx), %esi
	movq	_qtnf_pcie_topaz_interrupt@GOTPCREL(%rip), %rdx
	leaq	L_.str(%rip), %r8
	movq	%r12, %r9
	callq	_devm_request_irq
	movl	(%rbx), %esi
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %r13d
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_11
LBB0_5:
	movl	%esi, %edi
	callq	_disable_irq
	movq	%r12, %rdi
	callq	_qtnf_pre_init_ep
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movl	%eax, %r13d
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_7
LBB0_8:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_qtnf_pcie_topaz_init_xfer
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %r13d
	leaq	L_.str.3(%rip), %rdi
LBB0_7:
	xorl	%eax, %eax
	callq	_pr_err
LBB0_11:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r14, %rbx
	addq	$8, %rbx
	movq	_qtnf_reclaim_tasklet_fn@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_tasklet_init
	leaq	4(%r12), %rdi
	movq	_qtnf_topaz_rx_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	movl	$10, %ecx
	callq	_netif_napi_add
	movq	_qtnf_topaz_ipc_gen_ep_int@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	%r14, -56(%rbp)
	movq	(%r14), %rdx
	leaq	4(%rdx), %rsi
	leaq	-56(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_qtnf_pcie_init_shm_ipc
	xorl	%r13d, %r13d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_qtnf_pcie_topaz_bus_ops,4,2    ## @qtnf_pcie_topaz_bus_ops
	.comm	_qtnf_topaz_fw_work_handler,4,2 ## @qtnf_topaz_fw_work_handler
	.comm	_IRQF_NOBALANCING,8,3           ## @IRQF_NOBALANCING
	.comm	_IRQF_SHARED,8,3                ## @IRQF_SHARED
	.comm	_qtnf_pcie_topaz_interrupt,4,2  ## @qtnf_pcie_topaz_interrupt
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qtnf_topaz_irq"

L_.str.1:                               ## @.str.1
	.asciz	"failed to request pcie irq %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to init card\n"

L_.str.3:                               ## @.str.3
	.asciz	"PCIE xfer init failed\n"

	.comm	_qtnf_reclaim_tasklet_fn,4,2    ## @qtnf_reclaim_tasklet_fn
	.comm	_qtnf_topaz_rx_poll,4,2         ## @qtnf_topaz_rx_poll
	.comm	_qtnf_topaz_ipc_gen_ep_int,4,2  ## @qtnf_topaz_ipc_gen_ep_int
	.no_dead_strip	_qtnf_pcie_topaz_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qtnf_pcie_topaz_probe
_qtnf_pcie_topaz_probe:                 ; @qtnf_pcie_topaz_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x1
	mov	x20, x0
	bl	_get_bus_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _qtnf_pcie_topaz_bus_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qtnf_pcie_topaz_bus_ops@GOTPAGEOFF]
	ldr	x23, [x0, #32]
	str	x8, [x20, #16]
	add	x0, x20, #8
Lloh2:
	adrp	x8, _qtnf_topaz_fw_work_handler@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qtnf_topaz_fw_work_handler@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_INIT_WORK
	ldp	x9, x8, [x19, #16]
	str	x8, [x19]
Lloh5:
	adrp	x8, _IRQF_NOBALANCING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQF_NOBALANCING@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x10, _IRQF_SHARED@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IRQF_SHARED@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x9, #0
	csel	x9, x10, xzr, eq
	orr	x3, x9, x8
	add	x0, x23, #4
	ldr	w1, [x23]
Lloh11:
	adrp	x2, _qtnf_pcie_topaz_interrupt@GOTPAGE
Lloh12:
	ldr	x2, [x2, _qtnf_pcie_topaz_interrupt@GOTPAGEOFF]
Lloh13:
	adrp	x4, l_.str@PAGE
Lloh14:
	add	x4, x4, l_.str@PAGEOFF
	mov	x5, x20
	bl	_devm_request_irq
	mov	x22, x0
	ldr	w0, [x23]
	cbz	w22, LBB0_2
; %bb.1:
	str	x0, [sp]
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	b	LBB0_7
LBB0_2:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_disable_irq
	mov	x0, x20
	bl	_qtnf_pre_init_ep
	cbz	w0, LBB0_4
; %bb.3:
	mov	x22, x0
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	mov	x1, x21
	bl	_qtnf_pcie_topaz_init_xfer
	mov	x22, x0
	cbz	w0, LBB0_6
; %bb.5:
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_err
	b	LBB0_7
LBB0_6:
	add	x21, x19, #8
Lloh21:
	adrp	x8, _qtnf_reclaim_tasklet_fn@GOTPAGE
Lloh22:
	ldr	x8, [x8, _qtnf_reclaim_tasklet_fn@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x19
	bl	_tasklet_init
	add	x0, x20, #4
Lloh24:
	adrp	x8, _qtnf_topaz_rx_poll@GOTPAGE
Lloh25:
	ldr	x8, [x8, _qtnf_topaz_rx_poll@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x1, x20
	mov	w3, #10
	bl	_netif_napi_add
Lloh27:
	adrp	x8, _qtnf_topaz_ipc_gen_ep_int@GOTPAGE
Lloh28:
	ldr	x8, [x8, _qtnf_topaz_ipc_gen_ep_int@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	str	x19, [sp, #16]
	ldr	x2, [x19]
	add	x1, x2, #4
	add	x3, sp, #16
	mov	x0, x21
	bl	_qtnf_pcie_init_shm_ipc
LBB0_7:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_qtnf_pcie_topaz_bus_ops,4,2    ; @qtnf_pcie_topaz_bus_ops
	.comm	_qtnf_topaz_fw_work_handler,4,2 ; @qtnf_topaz_fw_work_handler
	.comm	_IRQF_NOBALANCING,8,3           ; @IRQF_NOBALANCING
	.comm	_IRQF_SHARED,8,3                ; @IRQF_SHARED
	.comm	_qtnf_pcie_topaz_interrupt,4,2  ; @qtnf_pcie_topaz_interrupt
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qtnf_topaz_irq"

l_.str.1:                               ; @.str.1
	.asciz	"failed to request pcie irq %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to init card\n"

l_.str.3:                               ; @.str.3
	.asciz	"PCIE xfer init failed\n"

	.comm	_qtnf_reclaim_tasklet_fn,4,2    ; @qtnf_reclaim_tasklet_fn
	.comm	_qtnf_topaz_rx_poll,4,2         ; @qtnf_topaz_rx_poll
	.comm	_qtnf_topaz_ipc_gen_ep_int,4,2  ; @qtnf_topaz_ipc_gen_ep_int
	.no_dead_strip	_qtnf_pcie_topaz_probe
.subsections_via_symbols
