	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wil6210_init_irq               ## -- Begin function wil6210_init_irq
	.p2align	4, 0x90
_wil6210_init_irq:                      ## @wil6210_init_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	callq	_wil_dbg_misc
	cmpq	$0, 16(%rbx)
	movq	_wil6210_irq_rx_edma@GOTPCREL(%rip), %rax
	cmoveq	_wil6210_irq_rx@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_wil6210_irq_tx_edma@GOTPCREL(%rip), %rcx
	cmoveq	_wil6210_irq_tx@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rbx)
	movl	%eax, 4(%rbx)
	movl	(%rbx), %eax
	cmpl	$3, %eax
	jne	LBB0_1
## %bb.4:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wil6210_request_3msi           ## TAILCALL
LBB0_1:
	movq	_wil6210_hardirq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_wil6210_thread_irq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%ecx, %ecx
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_3:
	movq	_WIL_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r14d, %edi
	movq	%rbx, %r9
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_request_threaded_irq           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"init_irq: %s, n_msi=%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"MSI"

L_.str.2:                               ## @.str.2
	.asciz	"INTx"

	.comm	_wil6210_irq_tx_edma,4,2        ## @wil6210_irq_tx_edma
	.comm	_wil6210_irq_rx_edma,4,2        ## @wil6210_irq_rx_edma
	.comm	_wil6210_irq_tx,4,2             ## @wil6210_irq_tx
	.comm	_wil6210_irq_rx,4,2             ## @wil6210_irq_rx
	.comm	_wil6210_hardirq,4,2            ## @wil6210_hardirq
	.comm	_wil6210_thread_irq,4,2         ## @wil6210_thread_irq
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_WIL_NAME,4,2                   ## @WIL_NAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wil6210_init_irq               ; -- Begin function wil6210_init_irq
	.p2align	2
_wil6210_init_irq:                      ; @wil6210_init_irq
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w3, [x0]
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str.2@PAGE
Lloh3:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w3, #0
	csel	x2, x9, x8, eq
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wil_dbg_misc
	ldr	x8, [x19, #16]
Lloh6:
	adrp	x9, _wil6210_irq_rx@GOTPAGE
Lloh7:
	ldr	x9, [x9, _wil6210_irq_rx@GOTPAGEOFF]
Lloh8:
	adrp	x10, _wil6210_irq_rx_edma@GOTPAGE
Lloh9:
	ldr	x10, [x10, _wil6210_irq_rx_edma@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _wil6210_irq_tx@GOTPAGE
Lloh11:
	ldr	x9, [x9, _wil6210_irq_tx@GOTPAGEOFF]
Lloh12:
	adrp	x10, _wil6210_irq_tx_edma@GOTPAGE
Lloh13:
	ldr	x10, [x10, _wil6210_irq_tx_edma@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	stp	w8, w9, [x19, #4]
	ldr	w8, [x19]
	cmp	w8, #3
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wil6210_request_3msi
LBB0_2:
Lloh14:
	adrp	x9, _wil6210_hardirq@GOTPAGE
Lloh15:
	ldr	x9, [x9, _wil6210_hardirq@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x9]
Lloh17:
	adrp	x9, _wil6210_thread_irq@GOTPAGE
Lloh18:
	ldr	x9, [x9, _wil6210_thread_irq@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x9]
Lloh20:
	adrp	x9, _IRQF_SHARED@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IRQF_SHARED@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w3, w9, wzr, eq
Lloh23:
	adrp	x8, _WIL_NAME@GOTPAGE
Lloh24:
	ldr	x8, [x8, _WIL_NAME@GOTPAGEOFF]
Lloh25:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x5, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_request_threaded_irq
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"init_irq: %s, n_msi=%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"MSI"

l_.str.2:                               ; @.str.2
	.asciz	"INTx"

	.comm	_wil6210_irq_tx_edma,4,2        ; @wil6210_irq_tx_edma
	.comm	_wil6210_irq_rx_edma,4,2        ; @wil6210_irq_rx_edma
	.comm	_wil6210_irq_tx,4,2             ; @wil6210_irq_tx
	.comm	_wil6210_irq_rx,4,2             ; @wil6210_irq_rx
	.comm	_wil6210_hardirq,4,2            ; @wil6210_hardirq
	.comm	_wil6210_thread_irq,4,2         ; @wil6210_thread_irq
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_WIL_NAME,4,2                   ; @WIL_NAME
.subsections_via_symbols
