	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x25_send_iframe
_x25_send_iframe:                       ## @x25_send_iframe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_x25_sk
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	8(%rax), %rsi
	cmpq	$0, (%rsi)
	je	LBB0_3
## %bb.2:
	movl	(%rax), %ecx
	addl	%ecx, %ecx
	movzbl	%cl, %ecx
	movq	(%rbx), %rdx
	movl	%ecx, 8(%rdx)
	movq	_X25_EXT_M_BIT@GOTPCREL(%rip), %rcx
	movl	12(%rdx), %edi
	andl	(%rcx), %edi
	leaq	12(%rdx), %r8
	movl	%edi, 12(%rdx)
	movl	$254, %edx
	movl	$1, %ecx
	jmp	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	_X25_STD_M_BIT@GOTPCREL(%rip), %rdi
	movq	(%rbx), %rdx
	leaq	8(%rdx), %r8
	movl	8(%rdx), %ecx
	andl	(%rdi), %ecx
	movl	%ecx, 8(%rdx)
	movl	(%rax), %edi
	addl	%edi, %edi
	andl	$14, %edi
	orl	%ecx, %edi
	movl	%edi, 8(%rdx)
	movl	$224, %edx
	movl	$5, %ecx
LBB0_4:
	movl	4(%rax), %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	andl	%edx, %eax
	orl	%edi, %eax
	movl	%eax, (%r8)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_x25_transmit_link              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_X25_EXT_M_BIT,4,2              ## @X25_EXT_M_BIT
	.comm	_X25_STD_M_BIT,4,2              ## @X25_STD_M_BIT
	.no_dead_strip	_x25_send_iframe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x25_send_iframe
_x25_send_iframe:                       ; @x25_send_iframe
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_x25_sk
	cbz	x19, LBB0_3
; %bb.1:
	ldr	x1, [x0, #8]
	ldr	x8, [x1]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w8, [x0]
	ubfiz	w9, w8, #1, #7
	ldr	x8, [x19]
	ldr	w10, [x8, #12]!
Lloh0:
	adrp	x11, _X25_EXT_M_BIT@GOTPAGE
Lloh1:
	ldr	x11, [x11, _X25_EXT_M_BIT@GOTPAGEOFF]
	stur	w9, [x8, #-4]
Lloh2:
	ldr	w9, [x11]
	and	w9, w10, w9
	str	w9, [x8]
	mov	w10, #254
	mov	w11, #1
	b	LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh3:
	adrp	x8, _X25_STD_M_BIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _X25_STD_M_BIT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x8]
	ldr	x8, [x19]
	ldr	w10, [x8, #8]!
	and	w9, w10, w9
	str	w9, [x8]
	ldr	w10, [x0]
	ubfiz	w10, w10, #1, #3
	orr	w9, w10, w9
	str	w9, [x8]
	mov	w10, #224
	mov	w11, #5
LBB0_5:
	ldr	w12, [x0, #4]
	lsl	w11, w12, w11
	and	w10, w11, w10
	orr	w9, w10, w9
	str	w9, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_x25_transmit_link
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_X25_EXT_M_BIT,4,2              ; @X25_EXT_M_BIT
	.comm	_X25_STD_M_BIT,4,2              ; @X25_STD_M_BIT
	.no_dead_strip	_x25_send_iframe
.subsections_via_symbols
