	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ax25_send_iframe
_ax25_send_iframe:                      ## @ax25_send_iframe
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_skb_reset_network_header
	movq	(%rbx), %rax
	movq	_AX25_MODULUS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_skb_push
	movq	_AX25_I@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movb	%cl, (%rax)
	testl	%r15d, %r15d
	movq	_AX25_PF@GOTPCREL(%rip), %rdx
	movzbl	(%rdx), %edx
	cmovel	%r15d, %edx
	orb	%cl, %dl
	movb	%dl, (%rax)
	movb	8(%rbx), %cl
	shlb	$5, %cl
	orb	%dl, %cl
	movb	%cl, (%rax)
	leaq	12(%rbx), %rdx
	jmp	LBB0_4
LBB0_5:
	retq
LBB0_3:
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_skb_push
	movq	_AX25_I@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movb	%cl, (%rax)
	movb	12(%rbx), %dl
	addb	%dl, %dl
	orb	%cl, %dl
	movb	%dl, (%rax)
	testl	%r15d, %r15d
	movq	_AX25_EPF@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	cmovel	%r15d, %ecx
	movb	%cl, 1(%rax)
	incq	%rax
	leaq	8(%rbx), %rdx
LBB0_4:
	movb	(%rdx), %dl
	addb	%dl, %dl
	orb	%cl, %dl
	movb	%dl, (%rax)
	movq	%rbx, %rdi
	callq	_ax25_start_idletimer
	movq	_AX25_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ax25_transmit_buffer           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AX25_MODULUS,8,3               ## @AX25_MODULUS
	.comm	_AX25_I,1,0                     ## @AX25_I
	.comm	_AX25_PF,1,0                    ## @AX25_PF
	.comm	_AX25_EPF,1,0                   ## @AX25_EPF
	.comm	_AX25_COMMAND,4,2               ## @AX25_COMMAND
	.no_dead_strip	_ax25_send_iframe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ax25_send_iframe
_ax25_send_iframe:                      ; @ax25_send_iframe
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_3
; %bb.1:
	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
	.cfi_remember_state
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_skb_reset_network_header
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _AX25_MODULUS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AX25_MODULUS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	mov	x0, x19
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	mov	w1, #1
	bl	_skb_push
Lloh3:
	adrp	x8, _AX25_I@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AX25_I@GOTPAGEOFF]
	ldrb	w8, [x8]
	strb	w8, [x0]
Lloh5:
	adrp	x9, _AX25_PF@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AX25_PF@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w21, #0
	csel	w9, wzr, w9, eq
	orr	w8, w9, w8
	strb	w8, [x0]
	ldrb	w9, [x20, #8]
	orr	w8, w8, w9, lsl #5
	strb	w8, [x0]
	add	x9, x20, #12
	b	LBB0_5
LBB0_3:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
LBB0_4:
	.cfi_restore_state
	mov	w1, #2
	bl	_skb_push
Lloh7:
	adrp	x8, _AX25_I@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AX25_I@GOTPAGEOFF]
	ldrb	w8, [x8]
	strb	w8, [x0]
	ldrb	w9, [x20, #12]
	orr	w8, w8, w9, lsl #1
	strb	w8, [x0]
Lloh9:
	adrp	x8, _AX25_EPF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AX25_EPF@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w21, #0
	csel	w8, wzr, w8, eq
	strb	w8, [x0, #1]!
	add	x9, x20, #8
LBB0_5:
	ldrb	w9, [x9]
	orr	w8, w8, w9, lsl #1
	strb	w8, [x0]
	mov	x0, x20
	bl	_ax25_start_idletimer
Lloh11:
	adrp	x8, _AX25_COMMAND@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AX25_COMMAND@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, 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_transmit_buffer
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_AX25_MODULUS,8,3               ; @AX25_MODULUS
	.comm	_AX25_I,1,0                     ; @AX25_I
	.comm	_AX25_PF,1,0                    ; @AX25_PF
	.comm	_AX25_EPF,1,0                   ; @AX25_EPF
	.comm	_AX25_COMMAND,4,2               ; @AX25_COMMAND
	.no_dead_strip	_ax25_send_iframe
.subsections_via_symbols
