	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_snoc_request_irq
_ath10k_snoc_request_irq:               ## @ath10k_snoc_request_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_ath10k_snoc_priv
	movq	%rax, %r14
	movq	_CE_COUNT_MAX@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_7
## %bb.1:
	movq	_IRQF_TRIGGER_RISING@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	movq	_ath10k_snoc_per_engine_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ce_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %ecx
	movl	%r13d, %edx
	movq	%r15, %r8
	callq	_request_irq
	testl	%eax, %eax
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	_CE_COUNT_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_7:
	xorl	%r12d, %r12d
	jmp	LBB0_8
LBB0_3:
	movl	%eax, %r12d
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_ath10k_err
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.4:
	incq	%rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	-8(%rax,%rbx,4), %edi
	movq	%r15, %rsi
	callq	_free_irq
	decq	%rbx
	cmpq	$1, %rbx
	jg	LBB0_5
LBB0_8:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQF_TRIGGER_RISING,4,2        ## @IRQF_TRIGGER_RISING
	.comm	_CE_COUNT_MAX,4,2               ## @CE_COUNT_MAX
	.comm	_ath10k_snoc_per_engine_handler,4,2 ## @ath10k_snoc_per_engine_handler
	.comm	_ce_name,8,3                    ## @ce_name
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to register IRQ handler for CE %d: %d"

	.no_dead_strip	_ath10k_snoc_request_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_snoc_request_irq
_ath10k_snoc_request_irq:               ; @ath10k_snoc_request_irq
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_ath10k_snoc_priv
Lloh0:
	adrp	x24, _CE_COUNT_MAX@GOTPAGE
Lloh1:
	ldr	x24, [x24, _CE_COUNT_MAX@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x20, x0
	mov	x21, #0
Lloh2:
	adrp	x8, _IRQF_TRIGGER_RISING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IRQF_TRIGGER_RISING@GOTPAGEOFF]
Lloh4:
	ldr	w23, [x8]
Lloh5:
	adrp	x25, _ath10k_snoc_per_engine_handler@GOTPAGE
Lloh6:
	ldr	x25, [x25, _ath10k_snoc_per_engine_handler@GOTPAGEOFF]
Lloh7:
	adrp	x26, _ce_name@GOTPAGE
Lloh8:
	ldr	x26, [x26, _ce_name@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	lsl	x9, x21, #2
	ldr	w0, [x8, x9]
	ldr	w1, [x25]
	ldr	x8, [x26]
	ldr	w3, [x8, x9]
	mov	x2, x23
	mov	x4, x19
	bl	_request_irq
	cbnz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x24]
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_4:
	mov	w22, #0
	b	LBB0_8
LBB0_5:
	mov	x22, x0
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	mov	x3, x22
	bl	_ath10k_err
	cbz	w21, LBB0_8
; %bb.6:
	sub	x21, x21, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	w0, [x8, x21, lsl #2]
	mov	x1, x19
	bl	_free_irq
	add	x8, x21, #1
	sub	x21, x21, #1
	cmp	x8, #1
	b.gt	LBB0_7
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQF_TRIGGER_RISING,4,2        ; @IRQF_TRIGGER_RISING
	.comm	_CE_COUNT_MAX,4,2               ; @CE_COUNT_MAX
	.comm	_ath10k_snoc_per_engine_handler,4,2 ; @ath10k_snoc_per_engine_handler
	.comm	_ce_name,8,3                    ; @ce_name
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to register IRQ handler for CE %d: %d"

	.no_dead_strip	_ath10k_snoc_request_irq
.subsections_via_symbols
