	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgene_enet_register_irq
_xgene_enet_register_irq:               ## @xgene_enet_register_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_ndev_to_dev
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_xgene_enet_set_irq_name
	cmpl	$0, (%r12)
	jle	LBB0_1
## %bb.8:
	xorl	%ebx, %ebx
	movq	_xgene_enet_rx_irq@GOTPCREL(%rip), %r14
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_2
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movq	(%rax,%rbx,8), %r13
	movl	4(%r13), %edi
	movq	_IRQ_DISABLE_UNLAZY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_irq_set_status_flags
	movl	(%r13), %r8d
	movl	4(%r13), %esi
	movl	(%r14), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movq	%r13, %r9
	callq	_devm_request_irq
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r13), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
	jmp	LBB0_11
LBB0_1:
	xorl	%r15d, %r15d
LBB0_2:
	cmpl	$0, 4(%r12)
	jle	LBB0_7
## %bb.3:
	xorl	%r14d, %r14d
	movq	_xgene_enet_rx_irq@GOTPCREL(%rip), %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	movslq	4(%r12), %rax
	cmpq	%rax, %r14
	jge	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%r14,8), %rax
	movq	(%rax), %r13
	movl	4(%r13), %edi
	movq	_IRQ_DISABLE_UNLAZY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_irq_set_status_flags
	movl	(%r13), %r8d
	movl	4(%r13), %esi
	movl	(%rbx), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movq	%r13, %r9
	callq	_devm_request_irq
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r13), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
	jmp	LBB0_6
LBB0_7:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_DISABLE_UNLAZY,4,2         ## @IRQ_DISABLE_UNLAZY
	.comm	_xgene_enet_rx_irq,4,2          ## @xgene_enet_rx_irq
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to request irq %s\n"

	.no_dead_strip	_xgene_enet_register_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgene_enet_register_irq
_xgene_enet_register_irq:               ; @xgene_enet_register_irq
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	mov	x0, x19
	bl	_ndev_to_dev
	mov	x21, x0
	mov	x0, x19
	bl	_xgene_enet_set_irq_name
	ldr	w8, [x20]
Lloh0:
	adrp	x25, _IRQ_DISABLE_UNLAZY@GOTPAGE
Lloh1:
	ldr	x25, [x25, _IRQ_DISABLE_UNLAZY@GOTPAGEOFF]
Lloh2:
	adrp	x26, _xgene_enet_rx_irq@GOTPAGE
Lloh3:
	ldr	x26, [x26, _xgene_enet_rx_irq@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x27, #0
Lloh4:
	adrp	x23, l_.str@PAGE
Lloh5:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x27, x27, #1
	ldrsw	x8, [x20]
	cmp	x27, x8
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	x24, [x8, x27, lsl #3]
	ldr	w0, [x24, #4]
	ldr	w1, [x25]
	bl	_irq_set_status_flags
	ldr	w2, [x26]
	ldp	w4, w1, [x24]
	mov	x0, x21
	mov	w3, #0
	mov	x5, x24
	bl	_devm_request_irq
	mov	x22, x0
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x23
	bl	_netdev_err
	b	LBB0_2
LBB0_5:
	mov	w22, #0
LBB0_6:
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.7:
	mov	x27, #0
Lloh6:
	adrp	x23, l_.str@PAGE
Lloh7:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x27, x27, #1
	ldrsw	x8, [x20, #4]
	cmp	x27, x8
	b.ge	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x27, lsl #3]
	ldr	x24, [x8]
	ldr	w0, [x24, #4]
	ldr	w1, [x25]
	bl	_irq_set_status_flags
	ldr	w2, [x26]
	ldp	w4, w1, [x24]
	mov	x0, x21
	mov	w3, #0
	mov	x5, x24
	bl	_devm_request_irq
	mov	x22, x0
	cbz	w0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x23
	bl	_netdev_err
	b	LBB0_8
LBB0_11:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_DISABLE_UNLAZY,4,2         ; @IRQ_DISABLE_UNLAZY
	.comm	_xgene_enet_rx_irq,4,2          ; @xgene_enet_rx_irq
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to request irq %s\n"

	.no_dead_strip	_xgene_enet_register_irq
.subsections_via_symbols
