	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x25_xmit
_x25_xmit:                              ## @x25_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_8
## %bb.1:
	cmpl	$130, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_13
## %bb.3:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_skb_pull
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_lapb_data_request
	movq	_LAPB_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
	jmp	LBB0_14
LBB0_4:
	movq	%r14, %rdi
	callq	_lapb_connect_request
	movq	_LAPB_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_13
## %bb.5:
	movq	_LAPB_CONNECTED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_x25_connected
	jmp	LBB0_13
LBB0_8:
	movq	%r14, %rdi
	callq	_lapb_disconnect_request
	movq	_LAPB_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_13
## %bb.9:
	movq	_LAPB_NOTCONNECTED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_x25_disconnected
	jmp	LBB0_13
LBB0_7:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_12
LBB0_11:
	leaq	L_.str.1(%rip), %rsi
LBB0_12:
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_netdev_err
LBB0_13:
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
LBB0_14:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LAPB_OK,4,2                    ## @LAPB_OK
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_LAPB_CONNECTED,4,2             ## @LAPB_CONNECTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LAPB connect request failed, error code = %i\n"

	.comm	_LAPB_NOTCONNECTED,4,2          ## @LAPB_NOTCONNECTED
L_.str.1:                               ## @.str.1
	.asciz	"LAPB disconnect request failed, error code = %i\n"

	.no_dead_strip	_x25_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x25_xmit
_x25_xmit:                              ; @x25_xmit
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	w8, [x8]
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.1:
	cmp	w8, #130
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_13
; %bb.3:
	mov	x0, x19
	mov	w1, #1
	bl	_skb_pull
	mov	x0, x20
	mov	x1, x19
	bl	_lapb_data_request
Lloh0:
	adrp	x8, _LAPB_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LAPB_OK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_13
	b	LBB0_14
LBB0_4:
	mov	x0, x20
	bl	_lapb_connect_request
Lloh3:
	adrp	x8, _LAPB_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LAPB_OK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_13
; %bb.5:
	mov	x2, x0
Lloh6:
	adrp	x8, _LAPB_CONNECTED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LAPB_CONNECTED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.6:
	mov	x0, x20
	mov	w1, #0
	bl	_x25_connected
	b	LBB0_13
LBB0_7:
	mov	x0, x20
	bl	_lapb_disconnect_request
Lloh9:
	adrp	x8, _LAPB_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LAPB_OK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_13
; %bb.8:
	mov	x2, x0
Lloh12:
	adrp	x8, _LAPB_NOTCONNECTED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LAPB_NOTCONNECTED@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.9:
	mov	x0, x20
	mov	w1, #0
	bl	_x25_disconnected
	b	LBB0_13
LBB0_10:
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_12:
	mov	x0, x20
	bl	_netdev_err
LBB0_13:
	mov	x0, x19
	bl	_dev_kfree_skb
LBB0_14:
Lloh19:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_LAPB_OK,4,2                    ; @LAPB_OK
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_LAPB_CONNECTED,4,2             ; @LAPB_CONNECTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LAPB connect request failed, error code = %i\n"

	.comm	_LAPB_NOTCONNECTED,4,2          ; @LAPB_NOTCONNECTED
l_.str.1:                               ; @.str.1
	.asciz	"LAPB disconnect request failed, error code = %i\n"

	.no_dead_strip	_x25_xmit
.subsections_via_symbols
