	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bpq_xmit
_bpq_xmit:                              ## @bpq_xmit
	.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	%rsi, %r14
	movq	%rdi, %r13
	movq	(%rdi), %rbx
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_1
## %bb.10:
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ax25_ip_xmit                   ## TAILCALL
LBB0_1:
	movq	%r14, %rdi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_skb_pull
	movl	8(%r13), %ebx
	movq	_AX25_BPQ_HEADER_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_skb_cow
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_2
LBB0_6:
	movq	%r13, %rdi
	movl	$2, %esi
	callq	_skb_push
	leal	5(%rbx), %ecx
	movb	%cl, (%rax)
	addl	$260, %ebx                      ## imm = 0x104
	testl	%ecx, %ecx
	cmovnsl	%ecx, %ebx
	movb	%bh, 1(%rax)
	movq	%r14, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_bpq_get_ether_dev
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r15
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_ax25_type_trans
	movq	%rax, (%r13)
	movq	%r13, %rdi
	callq	_skb_reset_network_header
	movq	_ETH_P_BPQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_dev_hard_header
	incl	4(%r15)
	movl	8(%r13), %eax
	addl	%eax, (%r15)
	movq	%r13, %rdi
	callq	_dev_queue_xmit
	movq	%r15, %rdi
	callq	_netif_wake_queue
	jmp	LBB0_9
LBB0_7:
	incl	8(%r14)
LBB0_2:
	movq	%r13, %rdi
	callq	_kfree_skb
LBB0_9:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_AX25_BPQ_HEADER_LEN,4,2        ## @AX25_BPQ_HEADER_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bpqether: out of memory\n"

	.comm	_ETH_P_BPQ,4,2                  ## @ETH_P_BPQ
	.no_dead_strip	_bpq_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bpq_xmit
_bpq_xmit:                              ; @bpq_xmit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x21, x0
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ax25_ip_xmit
LBB0_2:
	mov	x0, x20
	bl	_netif_running
	cbz	w0, LBB0_9
; %bb.3:
	mov	x0, x19
	mov	w1, #1
	bl	_skb_pull
	ldr	w21, [x19, #8]
Lloh3:
	adrp	x8, _AX25_BPQ_HEADER_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AX25_BPQ_HEADER_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_skb_cow
	cbz	x0, LBB0_6
; %bb.4:
	bl	_net_ratelimit
	cbz	x0, LBB0_9
; %bb.5:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	b	LBB0_9
LBB0_6:
	mov	x0, x19
	mov	w1, #2
	bl	_skb_push
	add	w8, w21, #5
	strb	w8, [x0]
	add	w9, w21, #260
	cmp	w8, #0
	csel	w8, w9, w8, lt
	lsr	w8, w8, #8
	strb	w8, [x0, #1]
	mov	x0, x20
	bl	_netdev_priv
	mov	x22, x0
	mov	x0, x20
	bl	_bpq_get_ether_dev
	cbz	x0, LBB0_8
; %bb.7:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_ax25_type_trans
	str	x0, [x19]
	mov	x0, x19
	bl	_skb_reset_network_header
Lloh8:
	adrp	x8, _ETH_P_BPQ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETH_P_BPQ@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x1, x21
	mov	x4, #0
	mov	w5, #0
	bl	_dev_hard_header
	add	x8, x19, #8
	ldr	d0, [x21]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x8]
	add.2s	v0, v0, v1
	str	d0, [x21]
	mov	x0, x19
	bl	_dev_queue_xmit
	mov	x0, x21
	bl	_netif_wake_queue
	b	LBB0_10
LBB0_8:
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
LBB0_9:
	mov	x0, x19
	bl	_kfree_skb
LBB0_10:
Lloh11:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_AX25_BPQ_HEADER_LEN,4,2        ; @AX25_BPQ_HEADER_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bpqether: out of memory\n"

	.comm	_ETH_P_BPQ,4,2                  ; @ETH_P_BPQ
	.no_dead_strip	_bpq_xmit
.subsections_via_symbols
