	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wcn36xx_dxe_request_irqs
_wcn36xx_dxe_request_irqs:              ## @wcn36xx_dxe_request_irqs
	.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	%rdi, %r14
	movl	(%rdi), %edi
	movq	_wcn36xx_irq_tx_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_TRIGGER_HIGH@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	_wcn36xx_err
	jmp	LBB0_5
LBB0_2:
	movl	4(%r14), %edi
	movq	_wcn36xx_irq_rx_ready@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	_wcn36xx_err
	movl	(%r14), %edi
	movq	%r14, %rsi
	callq	_free_irq
	jmp	LBB0_5
LBB0_4:
	movl	4(%r14), %edi
	callq	_enable_irq_wake
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wcn36xx_irq_tx_complete,4,2    ## @wcn36xx_irq_tx_complete
	.comm	_IRQF_TRIGGER_HIGH,4,2          ## @IRQF_TRIGGER_HIGH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wcn36xx_tx"

L_.str.1:                               ## @.str.1
	.asciz	"failed to alloc tx irq\n"

	.comm	_wcn36xx_irq_rx_ready,4,2       ## @wcn36xx_irq_rx_ready
L_.str.2:                               ## @.str.2
	.asciz	"wcn36xx_rx"

L_.str.3:                               ## @.str.3
	.asciz	"failed to alloc rx irq\n"

	.no_dead_strip	_wcn36xx_dxe_request_irqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wcn36xx_dxe_request_irqs
_wcn36xx_dxe_request_irqs:              ; @wcn36xx_dxe_request_irqs
	.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	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _wcn36xx_irq_tx_complete@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wcn36xx_irq_tx_complete@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x21, _IRQF_TRIGGER_HIGH@GOTPAGE
Lloh4:
	ldr	x21, [x21, _IRQF_TRIGGER_HIGH@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	mov	x4, x19
	bl	_request_irq
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_wcn36xx_err
	b	LBB0_5
LBB0_2:
	ldr	w0, [x19, #4]
Lloh9:
	adrp	x8, _wcn36xx_irq_rx_ready@GOTPAGE
Lloh10:
	ldr	x8, [x8, _wcn36xx_irq_rx_ready@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x21]
Lloh12:
	adrp	x3, l_.str.2@PAGE
Lloh13:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x4, x19
	bl	_request_irq
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.3:
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_wcn36xx_err
	ldr	w0, [x19]
	mov	x1, x19
	bl	_free_irq
	b	LBB0_5
LBB0_4:
	ldr	w0, [x19, #4]
	bl	_enable_irq_wake
LBB0_5:
	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 AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_wcn36xx_irq_tx_complete,4,2    ; @wcn36xx_irq_tx_complete
	.comm	_IRQF_TRIGGER_HIGH,4,2          ; @IRQF_TRIGGER_HIGH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wcn36xx_tx"

l_.str.1:                               ; @.str.1
	.asciz	"failed to alloc tx irq\n"

	.comm	_wcn36xx_irq_rx_ready,4,2       ; @wcn36xx_irq_rx_ready
l_.str.2:                               ; @.str.2
	.asciz	"wcn36xx_rx"

l_.str.3:                               ; @.str.3
	.asciz	"failed to alloc rx irq\n"

	.no_dead_strip	_wcn36xx_dxe_request_irqs
.subsections_via_symbols
