	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lapb_data_request              ## -- Begin function lapb_data_request
	.p2align	4, 0x90
_lapb_data_request:                     ## @lapb_data_request
	.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
	callq	_lapb_devtostruct
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_LAPB_STATE_3@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.3:
	movq	_LAPB_STATE_4@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	_LAPB_NOTCONNECTED@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	movq	_LAPB_BADTOKEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_7
LBB0_5:
	movq	%rbx, %rdi
	addq	$8, %rdi
	movq	%r14, %rsi
	callq	_skb_queue_tail
	movq	%rbx, %rdi
	callq	_lapb_kick
	movq	_LAPB_OK@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_lapb_put
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LAPB_BADTOKEN,4,2              ## @LAPB_BADTOKEN
	.comm	_LAPB_NOTCONNECTED,4,2          ## @LAPB_NOTCONNECTED
	.comm	_LAPB_STATE_3,8,3               ## @LAPB_STATE_3
	.comm	_LAPB_STATE_4,8,3               ## @LAPB_STATE_4
	.comm	_LAPB_OK,4,2                    ## @LAPB_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lapb_data_request              ; -- Begin function lapb_data_request
	.p2align	2
_lapb_data_request:                     ; @lapb_data_request
	.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
	bl	_lapb_devtostruct
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _LAPB_STATE_3@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LAPB_STATE_3@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _LAPB_STATE_4@GOTPAGE
Lloh4:
	ldr	x10, [x10, _LAPB_STATE_4@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
; %bb.2:
	add	x0, x19, #8
	mov	x1, x20
	bl	_skb_queue_tail
	mov	x0, x19
	bl	_lapb_kick
Lloh6:
	adrp	x8, _LAPB_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LAPB_OK@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x8, _LAPB_BADTOKEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LAPB_BADTOKEN@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	b	LBB0_6
LBB0_4:
Lloh11:
	adrp	x8, _LAPB_NOTCONNECTED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LAPB_NOTCONNECTED@GOTPAGEOFF]
LBB0_5:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_lapb_put
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_LAPB_BADTOKEN,4,2              ; @LAPB_BADTOKEN
	.comm	_LAPB_NOTCONNECTED,4,2          ; @LAPB_NOTCONNECTED
	.comm	_LAPB_STATE_3,8,3               ; @LAPB_STATE_3
	.comm	_LAPB_STATE_4,8,3               ; @LAPB_STATE_4
	.comm	_LAPB_OK,4,2                    ; @LAPB_OK
.subsections_via_symbols
