	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inittiger
_inittiger:                             ## @inittiger
	.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, %rbx
	movl	120(%rdi), %edi
	movq	_NJ_DMA_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	56(%rbx), %rdx
	callq	_pci_alloc_consistent
	movq	%rax, 64(%rbx)
	testq	%rax, %rax
	je	LBB0_19
## %bb.1:
	movq	_NJ_DMA_TXSIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_kmalloc
	movq	112(%rbx), %rcx
	movq	%rax, 8(%rcx)
	testq	%rax, %rax
	je	LBB0_2
## %bb.6:
	movq	_NJ_DMA_RXSIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%r13), %esi
	callq	_kmalloc
	movq	112(%rbx), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	movl	(%r12), %edi
	movl	(%r13), %esi
	callq	_kmalloc
	movq	112(%rbx), %rcx
	movq	%rax, 24(%rcx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movl	(%r15), %edi
	movl	(%r13), %esi
	callq	_kmalloc
	movq	112(%rbx), %rcx
	movq	%rax, 16(%rcx)
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	64(%rbx), %rdi
	movl	(%r14), %edx
	movl	$255, %esi
	callq	_memset
	movq	56(%rbx), %rdx
	movq	64(%rbx), %r9
	movq	%r9, 104(%rbx)
	movq	%rdx, 96(%rbx)
	movl	(%r12), %eax
	leal	-4(,%rax,4), %ecx
	movslq	%ecx, %r8
	addq	%rdx, %r8
	movq	%r8, 80(%rbx)
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	andl	$-2, %ecx
	addl	%ecx, %ecx
	addl	$-4, %ecx
	movslq	%ecx, %rcx
	addq	%rdx, %rcx
	movq	%rcx, 88(%rbx)
	movl	%eax, 72(%rbx)
	movq	_debug@GOTPCREL(%rip), %r12
	movq	_DEBUG_HW@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	testl	%esi, (%r12)
	je	LBB0_15
## %bb.14:
	movl	48(%rbx), %esi
	movl	%eax, (%rsp)
	leaq	L_.str.4(%rip), %rdi
	callq	_pr_notice
	movq	96(%rbx), %rdx
LBB0_15:
	movq	_NJ_DMA_READ_START@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movq	%rdx, %rdi
	callq	_outl
	movq	88(%rbx), %rdi
	movq	_NJ_DMA_READ_IRQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_outl
	movq	80(%rbx), %rdi
	movq	_NJ_DMA_READ_END@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_outl
	movl	(%r14), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %rdx
	movq	64(%rbx), %r9
	addq	%rdx, %r9
	movq	%r9, 40(%rbx)
	addq	56(%rbx), %rdx
	movq	%rdx, 32(%rbx)
	movl	(%r15), %eax
	leal	-4(,%rax,4), %ecx
	movslq	%ecx, %r8
	addq	%rdx, %r8
	movq	%r8, 16(%rbx)
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	andl	$-2, %ecx
	addl	%ecx, %ecx
	addl	$-4, %ecx
	movslq	%ecx, %rcx
	addq	%rdx, %rcx
	movq	%rcx, 24(%rbx)
	movl	%eax, 8(%rbx)
	movl	(%r13), %esi
	testl	%esi, (%r12)
	je	LBB0_17
## %bb.16:
	movl	48(%rbx), %esi
	movl	%eax, (%rsp)
	leaq	L_.str.5(%rip), %rdi
	callq	_pr_notice
	movq	32(%rbx), %rdx
LBB0_17:
	movq	_NJ_DMA_WRITE_START@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movq	%rdx, %rdi
	callq	_outl
	movq	24(%rbx), %rdi
	movq	_NJ_DMA_WRITE_IRQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_outl
	movq	16(%rbx), %rdi
	movq	_NJ_DMA_WRITE_END@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_outl
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_19:
	movl	48(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_info
	jmp	LBB0_5
LBB0_2:
	movl	$1, %edx
	jmp	LBB0_3
LBB0_7:
	movl	$1, %edx
	jmp	LBB0_8
LBB0_10:
	movl	$2, %edx
LBB0_3:
	movl	48(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_4
LBB0_12:
	movl	$2, %edx
LBB0_8:
	movl	48(%rbx), %esi
	leaq	L_.str.3(%rip), %rdi
LBB0_4:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_info
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NJ_DMA_SIZE,4,2                ## @NJ_DMA_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: No DMA memory\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NJ_DMA_TXSIZE,4,2              ## @NJ_DMA_TXSIZE
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
L_.str.2:                               ## @.str.2
	.asciz	"%s: no B%d send buffer\n"

	.comm	_NJ_DMA_RXSIZE,4,2              ## @NJ_DMA_RXSIZE
L_.str.3:                               ## @.str.3
	.asciz	"%s: no B%d recv buffer\n"

	.comm	_debug,4,2                      ## @debug
	.comm	_DEBUG_HW,4,2                   ## @DEBUG_HW
L_.str.4:                               ## @.str.4
	.asciz	"%s: send buffer phy %#x - %#x - %#x  virt %p size %zu u32\n"

	.comm	_NJ_DMA_READ_START,8,3          ## @NJ_DMA_READ_START
	.comm	_NJ_DMA_READ_IRQ,8,3            ## @NJ_DMA_READ_IRQ
	.comm	_NJ_DMA_READ_END,8,3            ## @NJ_DMA_READ_END
L_.str.5:                               ## @.str.5
	.asciz	"%s: recv buffer phy %#x - %#x - %#x  virt %p size %zu u32\n"

	.comm	_NJ_DMA_WRITE_START,8,3         ## @NJ_DMA_WRITE_START
	.comm	_NJ_DMA_WRITE_IRQ,8,3           ## @NJ_DMA_WRITE_IRQ
	.comm	_NJ_DMA_WRITE_END,8,3           ## @NJ_DMA_WRITE_END
	.no_dead_strip	_inittiger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inittiger
_inittiger:                             ; @inittiger
	.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	w0, [x0, #120]
Lloh0:
	adrp	x20, _NJ_DMA_SIZE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NJ_DMA_SIZE@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, x19, #56
	bl	_pci_alloc_consistent
	str	x0, [x19, #64]
	cbz	x0, LBB0_10
; %bb.1:
Lloh2:
	adrp	x22, _NJ_DMA_TXSIZE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _NJ_DMA_TXSIZE@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh4:
	adrp	x23, _GFP_ATOMIC@GOTPAGE
Lloh5:
	ldr	x23, [x23, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_kmalloc
	ldr	x8, [x19, #112]
	str	x0, [x8, #8]
	cbz	x0, LBB0_11
; %bb.2:
Lloh6:
	adrp	x21, _NJ_DMA_RXSIZE@GOTPAGE
Lloh7:
	ldr	x21, [x21, _NJ_DMA_RXSIZE@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x23]
	bl	_kmalloc
	ldr	x8, [x19, #112]
	str	x0, [x8]
	cbz	x0, LBB0_12
; %bb.3:
	ldr	w0, [x22]
	ldr	w1, [x23]
	bl	_kmalloc
	ldr	x8, [x19, #112]
	str	x0, [x8, #24]
	cbz	x0, LBB0_13
; %bb.4:
	ldr	w0, [x21]
	ldr	w1, [x23]
	bl	_kmalloc
	ldr	x8, [x19, #112]
	str	x0, [x8, #16]
	cbz	x0, LBB0_15
; %bb.5:
	ldr	x0, [x19, #64]
	ldr	w2, [x20]
	mov	w1, #255
	bl	_memset
	ldp	x2, x5, [x19, #56]
	stp	x2, x5, [x19, #96]
	ldr	w6, [x22]
	lsl	w8, w6, #2
	sub	w8, w8, #4
	add	x4, x2, w8, sxtw
	cmp	w6, #0
	cinc	w8, w6, lt
	lsl	w8, w8, #1
	and	w8, w8, #0xfffffffc
	sub	w8, w8, #4
	add	x3, x2, w8, sxtw
	stp	x4, x3, [x19, #80]
Lloh8:
	adrp	x22, _debug@GOTPAGE
Lloh9:
	ldr	x22, [x22, _debug@GOTPAGEOFF]
	str	w6, [x19, #72]
	ldr	w8, [x22]
Lloh10:
	adrp	x23, _DEBUG_HW@GOTPAGE
Lloh11:
	ldr	x23, [x23, _DEBUG_HW@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	ldr	w1, [x19, #48]
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_notice
	ldr	x2, [x19, #96]
LBB0_7:
	ldr	x8, [x19]
Lloh14:
	adrp	x9, _NJ_DMA_READ_START@GOTPAGE
Lloh15:
	ldr	x9, [x9, _NJ_DMA_READ_START@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x2
	bl	_outl
	ldr	x0, [x19, #88]
	ldr	x8, [x19]
Lloh17:
	adrp	x9, _NJ_DMA_READ_IRQ@GOTPAGE
Lloh18:
	ldr	x9, [x9, _NJ_DMA_READ_IRQ@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_outl
	ldr	x0, [x19, #80]
	ldr	x8, [x19]
Lloh20:
	adrp	x9, _NJ_DMA_READ_END@GOTPAGE
Lloh21:
	ldr	x9, [x9, _NJ_DMA_READ_END@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_outl
	ldr	w8, [x20]
	cmp	w8, #0
	cinc	w8, w8, lt
	sbfx	x8, x8, #1, #31
	ldp	x10, x9, [x19, #56]
	add	x5, x9, x8
	add	x2, x10, x8
	stp	x2, x5, [x19, #32]
	ldr	w6, [x21]
	lsl	w8, w6, #2
	sub	w8, w8, #4
	add	x4, x2, w8, sxtw
	cmp	w6, #0
	cinc	w8, w6, lt
	lsl	w8, w8, #1
	and	w8, w8, #0xfffffffc
	sub	w8, w8, #4
	add	x3, x2, w8, sxtw
	stp	x4, x3, [x19, #16]
	str	w6, [x19, #8]
	ldr	w8, [x22]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	ldr	w1, [x19, #48]
Lloh23:
	adrp	x0, l_.str.5@PAGE
Lloh24:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_notice
	ldr	x2, [x19, #32]
LBB0_9:
	ldr	x8, [x19]
Lloh25:
	adrp	x9, _NJ_DMA_WRITE_START@GOTPAGE
Lloh26:
	ldr	x9, [x9, _NJ_DMA_WRITE_START@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x2
	bl	_outl
	ldr	x0, [x19, #24]
	ldr	x8, [x19]
Lloh28:
	adrp	x9, _NJ_DMA_WRITE_IRQ@GOTPAGE
Lloh29:
	ldr	x9, [x9, _NJ_DMA_WRITE_IRQ@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_outl
	ldr	x0, [x19, #16]
	ldr	x8, [x19]
Lloh31:
	adrp	x9, _NJ_DMA_WRITE_END@GOTPAGE
Lloh32:
	ldr	x9, [x9, _NJ_DMA_WRITE_END@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_outl
	mov	w0, #0
	b	LBB0_18
LBB0_10:
	ldr	w1, [x19, #48]
Lloh34:
	adrp	x0, l_.str@PAGE
Lloh35:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_17
LBB0_11:
	mov	w8, #1
	b	LBB0_14
LBB0_12:
	mov	w8, #1
	b	LBB0_16
LBB0_13:
	mov	w8, #2
LBB0_14:
	ldr	w1, [x19, #48]
	str	x8, [sp]
Lloh36:
	adrp	x0, l_.str.2@PAGE
Lloh37:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_17
LBB0_15:
	mov	w8, #2
LBB0_16:
	ldr	w1, [x19, #48]
	str	x8, [sp]
Lloh38:
	adrp	x0, l_.str.3@PAGE
Lloh39:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_17:
	bl	_pr_info
Lloh40:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_18:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_NJ_DMA_SIZE,4,2                ; @NJ_DMA_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: No DMA memory\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NJ_DMA_TXSIZE,4,2              ; @NJ_DMA_TXSIZE
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
l_.str.2:                               ; @.str.2
	.asciz	"%s: no B%d send buffer\n"

	.comm	_NJ_DMA_RXSIZE,4,2              ; @NJ_DMA_RXSIZE
l_.str.3:                               ; @.str.3
	.asciz	"%s: no B%d recv buffer\n"

	.comm	_debug,4,2                      ; @debug
	.comm	_DEBUG_HW,4,2                   ; @DEBUG_HW
l_.str.4:                               ; @.str.4
	.asciz	"%s: send buffer phy %#x - %#x - %#x  virt %p size %zu u32\n"

	.comm	_NJ_DMA_READ_START,8,3          ; @NJ_DMA_READ_START
	.comm	_NJ_DMA_READ_IRQ,8,3            ; @NJ_DMA_READ_IRQ
	.comm	_NJ_DMA_READ_END,8,3            ; @NJ_DMA_READ_END
l_.str.5:                               ; @.str.5
	.asciz	"%s: recv buffer phy %#x - %#x - %#x  virt %p size %zu u32\n"

	.comm	_NJ_DMA_WRITE_START,8,3         ; @NJ_DMA_WRITE_START
	.comm	_NJ_DMA_WRITE_IRQ,8,3           ; @NJ_DMA_WRITE_IRQ
	.comm	_NJ_DMA_WRITE_END,8,3           ; @NJ_DMA_WRITE_END
	.no_dead_strip	_inittiger
.subsections_via_symbols
