	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function niu_set_irq_name
_niu_set_irq_name:                      ## @niu_set_irq_name
	.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, %r12
	movq	16(%rdi), %rax
	movq	24(%rdi), %rcx
	movl	(%rcx), %edi
	movq	(%rax), %rdx
	movl	(%r12), %ebx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
	movl	$1, %eax
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.2:
	cmpl	%eax, 4(%r12)
	jg	LBB0_3
	jmp	LBB0_10
LBB0_1:
	movq	16(%r12), %rax
	movq	24(%r12), %rcx
	movl	4(%rcx), %edi
	movq	(%rax), %rdx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
	movq	16(%r12), %rax
	movq	24(%r12), %rcx
	movl	8(%rcx), %edi
	movq	(%rax), %rdx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
	movl	$3, %eax
	cmpl	%eax, 4(%r12)
	jle	LBB0_10
LBB0_3:
	movl	%eax, %r13d
	leaq	(,%r13,4), %r15
	leaq	L_.str.3(%rip), %r14
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r12), %rax
	addq	%r15, %rax
	movl	(%rax,%rbx,4), %edi
	movq	16(%r12), %rax
	movq	(%rax), %rdx
	movq	%r14, %rsi
	movl	%ebx, %ecx
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	callq	_sprintf
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	4(%r12), %rax
	subq	%r13, %rax
	cmpq	%rax, %rbx
	jge	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	8(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	12(%r12), %rcx
	addq	%rax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r12), %rcx
	addq	%r15, %rcx
	movl	(%rcx,%rbx,4), %edi
	movq	16(%r12), %rcx
	movq	(%rcx), %rdx
	movl	%ebx, %ecx
	subl	%eax, %ecx
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_8
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s:MAC"

L_.str.1:                               ## @.str.1
	.asciz	"%s:MIF"

L_.str.2:                               ## @.str.2
	.asciz	"%s:SYSERR"

L_.str.3:                               ## @.str.3
	.asciz	"%s-rx-%d"

L_.str.4:                               ## @.str.4
	.asciz	"%s-tx-%d"

	.no_dead_strip	_niu_set_irq_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function niu_set_irq_name
_niu_set_irq_name:                      ; @niu_set_irq_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	ldr	w20, [x0]
	ldp	x9, x8, [x0, #16]
	ldr	w0, [x8]
	ldr	x2, [x9]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sprintf
	cbz	w20, LBB0_2
; %bb.1:
	mov	w22, #1
	b	LBB0_3
LBB0_2:
	ldp	x9, x8, [x19, #16]
	ldr	w0, [x8, #4]
	ldr	x2, [x9]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_sprintf
	ldp	x9, x8, [x19, #16]
	ldr	w0, [x8, #8]
	ldr	x2, [x9]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_sprintf
	mov	w22, #3
LBB0_3:
	ldr	w8, [x19, #4]
	cmp	w8, w22
	b.le	LBB0_11
; %bb.4:
	mov	x23, #0
	mov	w8, w22
	lsl	x24, x8, #2
Lloh6:
	adrp	x20, l_.str.3@PAGE
Lloh7:
	add	x20, x20, l_.str.3@PAGEOFF
Lloh8:
	adrp	x21, l_.str.4@PAGE
Lloh9:
	add	x21, x21, l_.str.4@PAGEOFF
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldp	x9, x8, [x19, #16]
	add	x8, x8, x24
	ldr	w0, [x8, x23, lsl #2]
	ldr	x2, [x9]
	str	x23, [sp]
	mov	x1, x20
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	bl	_sprintf
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x19, #4]
	sub	x8, x8, w22, uxtw
	cmp	x23, x8
	b.ge	LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x19, #8]
	cmp	x23, x8
	b.lt	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrsw	x9, [x19, #12]
	add	x9, x9, x8
	cmp	x23, x9
	b.ge	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldp	x10, x9, [x19, #16]
	add	x9, x9, x24
	ldr	w0, [x9, x23, lsl #2]
	ldr	x2, [x10]
	neg	w8, w8
	add	x8, x23, x8
	str	x8, [sp]
	mov	x1, x21
	b	LBB0_6
LBB0_11:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s:MAC"

l_.str.1:                               ; @.str.1
	.asciz	"%s:MIF"

l_.str.2:                               ; @.str.2
	.asciz	"%s:SYSERR"

l_.str.3:                               ; @.str.3
	.asciz	"%s-rx-%d"

l_.str.4:                               ; @.str.4
	.asciz	"%s-tx-%d"

	.no_dead_strip	_niu_set_irq_name
.subsections_via_symbols
