	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function l2_got_iframe
_l2_got_iframe:                         ## @l2_got_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	movq	%r12, %rdi
	callq	_l2addrsize
	movl	%eax, %r14d
	movq	_FLG_MOD128@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r12), %rsi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_test_bit
	movq	(%r13), %rcx
	testq	%rax, %rax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movslq	%r14d, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rcx,%rax,4), %r14d
	movl	4(%rcx,%rax,4), %r15d
	movl	%r15d, %ebx
	andl	$1, %ebx
	sarl	%r14d
	shrl	%r15d
	andl	$127, %r15d
	jmp	LBB0_3
LBB0_2:
	movl	(%rcx,%rax,4), %r15d
	movl	%r15d, %ebx
	andl	$16, %ebx
	movl	%r15d, %r14d
	shrl	%r14d
	andl	$7, %r14d
	shrl	$5, %r15d
	andl	$7, %r15d
LBB0_3:
	movq	_FLG_OWN_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%r13, %rdi
	callq	_dev_kfree_skb
	testl	%ebx, %ebx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_14
LBB0_5:
	movq	%r12, %rdi
	callq	_enquiry_response
	jmp	LBB0_14
LBB0_6:
	cmpl	%r14d, (%r12)
	jne	LBB0_11
## %bb.7:
	incl	%r14d
	movl	%r14d, (%r12)
	movq	_FLG_MOD128@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	movl	(%r12), %eax
	movl	$8, %ecx
	movl	$128, %esi
	cmovel	%ecx, %esi
	cltd
	idivl	%esi
	movl	%edx, (%r12)
	movq	_FLG_REJEXC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_and_clear_bit
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.8:
	movq	%r12, %rdi
	callq	_enquiry_response
	jmp	LBB0_10
LBB0_11:
	movq	%r13, %rdi
	callq	_dev_kfree_skb
	movq	_FLG_REJEXC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_13
## %bb.12:
	testl	%ebx, %ebx
	jne	LBB0_5
	jmp	LBB0_14
LBB0_9:
	movq	_FLG_ACK_PEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_and_set_bit
LBB0_10:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_l2headersize
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_skb_pull
	movq	_DL_DATA_IND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r13, %rdx
	callq	_l2up
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_13:
	movq	_REJ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RSP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%ebx, %ecx
	callq	_enquiry_cr
	movq	_FLG_ACK_PEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_and_clear_bit
LBB0_14:
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_legalnr
	testq	%rax, %rax
	je	LBB0_26
## %bb.15:
	movq	_FLG_PEER_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_21
## %bb.16:
	movq	(%r14), %rax
	movq	_ST_L2_7@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.17:
	cmpl	4(%r12), %r15d
	jne	LBB0_19
## %bb.18:
	movq	%r12, %rdi
	movl	$13, %esi
	callq	_stop_t200
	leaq	24(%r12), %rdi
	movl	20(%r12), %esi
	movq	_EV_L2_T203@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	movl	$7, %r8d
	callq	_mISDN_FsmRestartTimer
	jmp	LBB0_21
LBB0_26:
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nrerrorrecovery                ## TAILCALL
LBB0_19:
	cmpl	8(%r12), %r15d
	je	LBB0_21
## %bb.20:
	movq	%r12, %rdi
	movl	$14, %esi
	callq	_restart_t200
LBB0_21:
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_setva
	leaq	16(%r12), %rdi
	callq	_skb_queue_len
	testq	%rax, %rax
	je	LBB0_24
## %bb.22:
	movq	(%r14), %rax
	movq	_ST_L2_7@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_24
## %bb.23:
	movq	_EV_L2_ACK_PULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_mISDN_FsmEvent
LBB0_24:
	movq	_FLG_ACK_PEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_25
## %bb.27:
	movq	_RR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RSP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_enquiry_cr                     ## TAILCALL
LBB0_25:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLG_MOD128,4,2                 ## @FLG_MOD128
	.comm	_FLG_OWN_BUSY,4,2               ## @FLG_OWN_BUSY
	.comm	_FLG_REJEXC,4,2                 ## @FLG_REJEXC
	.comm	_FLG_ACK_PEND,4,2               ## @FLG_ACK_PEND
	.comm	_DL_DATA_IND,4,2                ## @DL_DATA_IND
	.comm	_REJ,4,2                        ## @REJ
	.comm	_RSP,4,2                        ## @RSP
	.comm	_FLG_PEER_BUSY,4,2              ## @FLG_PEER_BUSY
	.comm	_ST_L2_7,8,3                    ## @ST_L2_7
	.comm	_EV_L2_T203,4,2                 ## @EV_L2_T203
	.comm	_EV_L2_ACK_PULL,4,2             ## @EV_L2_ACK_PULL
	.comm	_RR,4,2                         ## @RR
	.no_dead_strip	_l2_got_iframe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function l2_got_iframe
_l2_got_iframe:                         ; @l2_got_iframe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x2
	mov	x20, x0
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_l2addrsize
	mov	x22, x0
Lloh0:
	adrp	x25, _FLG_MOD128@GOTPAGE
Lloh1:
	ldr	x25, [x25, _FLG_MOD128@GOTPAGEOFF]
	ldr	w0, [x25]
	add	x21, x19, #12
	mov	x1, x21
	bl	_test_bit
	ldr	x8, [x23]
	cbz	x0, LBB0_2
; %bb.1:
	add	x8, x8, w22, sxtw #2
	ldp	w8, w9, [x8]
	and	w24, w9, #0x1
	asr	w26, w8, #1
	ubfx	w22, w9, #1, #7
	b	LBB0_3
LBB0_2:
	ldr	w8, [x8, w22, sxtw #2]
	and	w24, w8, #0x10
	ubfx	w26, w8, #1, #3
	ubfx	w22, w8, #5, #3
LBB0_3:
Lloh2:
	adrp	x8, _FLG_OWN_BUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FLG_OWN_BUSY@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x23
	bl	_dev_kfree_skb
	cbz	w24, LBB0_14
LBB0_5:
	mov	x0, x19
	bl	_enquiry_response
	b	LBB0_14
LBB0_6:
	ldr	w8, [x19]
	cmp	w8, w26
	b.ne	LBB0_9
; %bb.7:
	add	w8, w26, #1
	str	w8, [x19]
	ldr	w0, [x25]
	mov	x1, x21
	bl	_test_bit
	ldr	w8, [x19]
	cmp	x0, #0
	mov	w9, #128
	mov	w10, #8
	csel	w9, w10, w9, eq
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	str	w8, [x19]
Lloh5:
	adrp	x8, _FLG_REJEXC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FLG_REJEXC@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_and_clear_bit
	cbz	w24, LBB0_11
; %bb.8:
	mov	x0, x19
	bl	_enquiry_response
	b	LBB0_12
LBB0_9:
	mov	x0, x23
	bl	_dev_kfree_skb
Lloh8:
	adrp	x8, _FLG_REJEXC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FLG_REJEXC@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_and_set_bit
	cbz	x0, LBB0_13
; %bb.10:
	cbnz	w24, LBB0_5
	b	LBB0_14
LBB0_11:
Lloh11:
	adrp	x8, _FLG_ACK_PEND@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FLG_ACK_PEND@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_and_set_bit
LBB0_12:
	mov	x0, x19
	mov	w1, #0
	bl	_l2headersize
	mov	x1, x0
	mov	x0, x23
	bl	_skb_pull
Lloh14:
	adrp	x8, _DL_DATA_IND@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DL_DATA_IND@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x23
	bl	_l2up
	b	LBB0_14
LBB0_13:
Lloh17:
	adrp	x8, _REJ@GOTPAGE
Lloh18:
	ldr	x8, [x8, _REJ@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _RSP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RSP@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x24
	bl	_enquiry_cr
Lloh23:
	adrp	x8, _FLG_ACK_PEND@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FLG_ACK_PEND@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_and_clear_bit
LBB0_14:
	mov	x0, x19
	mov	x1, x22
	bl	_legalnr
	cbz	x0, LBB0_19
; %bb.15:
Lloh26:
	adrp	x8, _FLG_PEER_BUSY@GOTPAGE
Lloh27:
	ldr	x8, [x8, _FLG_PEER_BUSY@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
Lloh29:
	adrp	x23, _ST_L2_7@GOTPAGE
Lloh30:
	ldr	x23, [x23, _ST_L2_7@GOTPAGEOFF]
	cbnz	x0, LBB0_22
; %bb.16:
	ldr	x8, [x20]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.17:
	ldr	w8, [x19, #4]
	cmp	w22, w8
	b.ne	LBB0_20
; %bb.18:
	mov	x0, x19
	mov	w1, #13
	bl	_stop_t200
	add	x0, x19, #24
	ldr	w1, [x19, #20]
Lloh31:
	adrp	x8, _EV_L2_T203@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EV_L2_T203@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	mov	x3, #0
	mov	w4, #7
	bl	_mISDN_FsmRestartTimer
	b	LBB0_22
LBB0_19:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_nrerrorrecovery
LBB0_20:
	ldr	w8, [x19, #8]
	cmp	w22, w8
	b.eq	LBB0_22
; %bb.21:
	mov	x0, x19
	mov	w1, #14
	bl	_restart_t200
LBB0_22:
	mov	x0, x19
	mov	x1, x22
	bl	_setva
	add	x0, x19, #16
	bl	_skb_queue_len
	cbz	x0, LBB0_25
; %bb.23:
	ldr	x8, [x20]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_25
; %bb.24:
Lloh34:
	adrp	x8, _EV_L2_ACK_PULL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EV_L2_ACK_PULL@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, #0
	bl	_mISDN_FsmEvent
LBB0_25:
Lloh37:
	adrp	x8, _FLG_ACK_PEND@GOTPAGE
Lloh38:
	ldr	x8, [x8, _FLG_ACK_PEND@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_and_clear_bit
	cbz	x0, LBB0_27
; %bb.26:
Lloh40:
	adrp	x8, _RR@GOTPAGE
Lloh41:
	ldr	x8, [x8, _RR@GOTPAGEOFF]
Lloh42:
	adrp	x9, _RSP@GOTPAGE
Lloh43:
	ldr	x9, [x9, _RSP@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
Lloh45:
	ldr	w2, [x9]
	mov	x0, x19
	mov	w3, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_enquiry_cr
LBB0_27:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_FLG_MOD128,4,2                 ; @FLG_MOD128
	.comm	_FLG_OWN_BUSY,4,2               ; @FLG_OWN_BUSY
	.comm	_FLG_REJEXC,4,2                 ; @FLG_REJEXC
	.comm	_FLG_ACK_PEND,4,2               ; @FLG_ACK_PEND
	.comm	_DL_DATA_IND,4,2                ; @DL_DATA_IND
	.comm	_REJ,4,2                        ; @REJ
	.comm	_RSP,4,2                        ; @RSP
	.comm	_FLG_PEER_BUSY,4,2              ; @FLG_PEER_BUSY
	.comm	_ST_L2_7,8,3                    ; @ST_L2_7
	.comm	_EV_L2_T203,4,2                 ; @EV_L2_T203
	.comm	_EV_L2_ACK_PULL,4,2             ; @EV_L2_ACK_PULL
	.comm	_RR,4,2                         ; @RR
	.no_dead_strip	_l2_got_iframe
.subsections_via_symbols
