	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xlgmac_request_irqs
_xlgmac_request_irqs:                   ## @xlgmac_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	%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
	movq	40(%rdi), %r14
	movl	8(%rdi), %esi
	movl	12(%rdi), %edi
	movq	_xlgmac_isr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r14), %r8d
	movq	%r15, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r12d
	movl	8(%r15), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_alert
LBB0_12:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%r12d, %r12d
	cmpl	$0, 32(%r15)
	je	LBB0_12
## %bb.3:
	cmpl	$0, (%r15)
	je	LBB0_12
## %bb.4:
	movq	24(%r15), %rbx
	movl	$-1, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	20(%rbx), %r12d
	movq	%r14, %rdi
	callq	_netdev_name
	movl	4(%rbx), %r8d
	movl	%r12d, %edi
	movl	$3, %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rax, %rcx
	callq	_snprintf
	movl	12(%r15), %edi
	movq	_xlgmac_dma_isr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	16(%rbx), %esi
	movl	20(%rbx), %r8d
	xorl	%ecx, %ecx
	movq	%rbx, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	jne	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	addq	$48, %rbx
	leal	1(%r13), %eax
	addl	$2, %r13d
	cmpl	(%r15), %r13d
	movl	%eax, %r13d
	jb	LBB0_5
## %bb.11:
	xorl	%r12d, %r12d
	jmp	LBB0_12
LBB0_6:
	movl	%eax, %r12d
	movl	16(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_alert
	cmpl	(%r15), %r13d
	jae	LBB0_9
## %bb.7:
	addq	$-48, %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r15), %edi
	movl	16(%rbx), %esi
	movq	%rbx, %rdx
	callq	_devm_free_irq
	decl	%r13d
	addq	$-48, %rbx
	cmpl	(%r15), %r13d
	jb	LBB0_8
LBB0_9:
	movl	8(%r15), %esi
	movl	12(%r15), %edi
	movq	%r15, %rdx
	callq	_devm_free_irq
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_xlgmac_isr,4,2                 ## @xlgmac_isr
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error requesting irq %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s-TxRx-%u"

	.comm	_xlgmac_dma_isr,4,2             ## @xlgmac_dma_isr
	.no_dead_strip	_xlgmac_request_irqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xlgmac_request_irqs
_xlgmac_request_irqs:                   ; @xlgmac_request_irqs
	.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
	ldr	x20, [x0, #40]
Lloh0:
	adrp	x8, _xlgmac_isr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _xlgmac_isr@GOTPAGEOFF]
	ldr	w0, [x0, #12]
	ldr	w1, [x19, #8]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	ldr	w4, [x20]
	mov	x5, x19
	bl	_devm_request_irq
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	w2, [x19, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_alert
	b	LBB0_8
LBB0_2:
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_7
; %bb.3:
	ldr	w8, [x19]
	cbz	w8, LBB0_7
; %bb.4:
	ldr	x22, [x19, #24]
	mov	w24, #-1
Lloh8:
	adrp	x23, l_.str.1@PAGE
Lloh9:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh10:
	adrp	x25, _xlgmac_dma_isr@GOTPAGE
Lloh11:
	ldr	x25, [x25, _xlgmac_dma_isr@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w21, [x22, #20]
	mov	x0, x20
	bl	_netdev_name
	mov	x3, x0
	ldr	w4, [x22, #4]
	mov	x0, x21
	mov	w1, #3
	mov	x2, x23
	bl	_snprintf
	ldr	w0, [x19, #12]
	ldr	w2, [x25]
	ldp	w1, w4, [x22, #16]
	mov	w3, #0
	mov	x5, x22
	bl	_devm_request_irq
	cbnz	w0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #48
	ldr	w8, [x19]
	add	w9, w24, #2
	add	w24, w24, #1
	cmp	w9, w8
	b.lo	LBB0_5
LBB0_7:
	mov	w21, #0
LBB0_8:
	mov	x0, x21
	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
LBB0_9:
	mov	x21, x0
	ldr	w2, [x22, #16]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_alert
	ldr	w8, [x19]
	cmp	w24, w8
	b.hs	LBB0_12
; %bb.10:
	sub	x20, x22, #48
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #12]
	ldr	w1, [x20, #16]
	mov	x2, x20
	bl	_devm_free_irq
	sub	w24, w24, #1
	ldr	w8, [x19]
	sub	x20, x20, #48
	cmp	w24, w8
	b.lo	LBB0_11
LBB0_12:
	ldp	w1, w0, [x19, #8]
	mov	x2, x19
	bl	_devm_free_irq
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_xlgmac_isr,4,2                 ; @xlgmac_isr
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error requesting irq %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s-TxRx-%u"

	.comm	_xlgmac_dma_isr,4,2             ; @xlgmac_dma_isr
	.no_dead_strip	_xlgmac_request_irqs
.subsections_via_symbols
