	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ack_tx
_ack_tx:                                ## @ack_tx
	.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
	movl	%esi, %r15d
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_D_DURING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r14), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rsi
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_arc_printk
	movq	_D_SKB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BUGLVL
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%r14), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	callq	_arcnet_dump_skb
LBB0_2:
	movq	_ARC_HDR_SIZE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	addq	$4, %rdi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %r13
	movq	(%rbx), %rsi
	addq	$4, %rsi
	movq	%rax, %rdi
	callq	_skb_put
	movq	%r12, 8(%r13)
	movq	%r13, %rdi
	callq	_skb_reset_mac_header
	movq	%r13, %rdi
	callq	_skb_mac_header
	movq	%rbx, %rcx
	movq	%rax, %rbx
	movq	8(%r14), %rdi
	movq	(%rcx), %rdx
	addq	$4, %rdx
	movq	%rax, %rsi
	callq	_skb_copy_from_linear_data
	movq	$0, 16(%rbx)
	movl	%r15d, 8(%rbx)
	movq	_D_PROTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_arc_printk
	movq	_ETH_P_ARCNET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be16
	movl	%eax, (%r13)
	movq	_D_SKB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BUGLVL
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.3(%rip), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_arcnet_dump_skb
LBB0_5:
	movq	%r13, %rdi
	callq	_netif_rx
LBB0_6:
	movq	8(%r14), %rdi
	callq	_dev_kfree_skb_irq
	movq	$0, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_D_DURING,4,2                   ## @D_DURING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"capmode: ack_tx: protocol: %x: result: %d\n"

	.comm	_D_SKB,4,2                      ## @D_SKB
L_.str.1:                               ## @.str.1
	.asciz	"ack_tx"

	.comm	_ARC_HDR_SIZE,8,3               ## @ARC_HDR_SIZE
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_D_PROTO,4,2                    ## @D_PROTO
L_.str.2:                               ## @.str.2
	.asciz	"Acknowledge for cap packet %x.\n"

	.comm	_ETH_P_ARCNET,4,2               ## @ETH_P_ARCNET
L_.str.3:                               ## @.str.3
	.asciz	"ack_tx_recv"

	.no_dead_strip	_ack_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ack_tx
_ack_tx:                                ; @ack_tx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x21, x1
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _D_DURING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D_DURING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	w3, [x8]
	str	x21, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x20
	bl	_arc_printk
Lloh5:
	adrp	x24, _D_SKB@GOTPAGE
Lloh6:
	ldr	x24, [x24, _D_SKB@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_BUGLVL
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x1, [x19, #8]
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_arcnet_dump_skb
LBB0_2:
Lloh9:
	adrp	x25, _ARC_HDR_SIZE@GOTPAGE
Lloh10:
	ldr	x25, [x25, _ARC_HDR_SIZE@GOTPAGEOFF]
	ldr	x8, [x25]
	add	x0, x8, #4
Lloh11:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_alloc_skb
	cbz	x0, LBB0_6
; %bb.3:
	mov	x22, x0
	ldr	x8, [x25]
	add	x1, x8, #4
	bl	_skb_put
	str	x20, [x22, #8]
	mov	x0, x22
	bl	_skb_reset_mac_header
	mov	x0, x22
	bl	_skb_mac_header
	mov	x23, x0
	ldr	x0, [x19, #8]
	ldr	x8, [x25]
	add	x2, x8, #4
	mov	x1, x23
	bl	_skb_copy_from_linear_data
	str	xzr, [x23, #16]
	str	w21, [x23, #8]
Lloh14:
	adrp	x8, _D_PROTO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _D_PROTO@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	x8, [x23]
	ldr	w3, [x8]
Lloh17:
	adrp	x2, l_.str.2@PAGE
Lloh18:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_arc_printk
Lloh19:
	adrp	x8, _ETH_P_ARCNET@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ETH_P_ARCNET@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_cpu_to_be16
	str	w0, [x22]
	ldr	w0, [x24]
	bl	_BUGLVL
	cbz	x0, LBB0_5
; %bb.4:
Lloh22:
	adrp	x2, l_.str.3@PAGE
Lloh23:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x1, x22
	bl	_arcnet_dump_skb
LBB0_5:
	mov	x0, x22
	bl	_netif_rx
LBB0_6:
	ldr	x0, [x19, #8]
	bl	_dev_kfree_skb_irq
	str	xzr, [x19]
	mov	w0, #0
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_D_DURING,4,2                   ; @D_DURING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"capmode: ack_tx: protocol: %x: result: %d\n"

	.comm	_D_SKB,4,2                      ; @D_SKB
l_.str.1:                               ; @.str.1
	.asciz	"ack_tx"

	.comm	_ARC_HDR_SIZE,8,3               ; @ARC_HDR_SIZE
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_D_PROTO,4,2                    ; @D_PROTO
l_.str.2:                               ; @.str.2
	.asciz	"Acknowledge for cap packet %x.\n"

	.comm	_ETH_P_ARCNET,4,2               ; @ETH_P_ARCNET
l_.str.3:                               ; @.str.3
	.asciz	"ack_tx_recv"

	.no_dead_strip	_ack_tx
.subsections_via_symbols
