	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ph_data_confirm
_ph_data_confirm:                       ## @ph_data_confirm
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, %r13d
	negl	%r13d
	movq	_FLG_L1_NOTREADY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r15), %r14
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_10
## %bb.2:
	leaq	12(%r15), %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_mISDN_HEAD_ID
	movq	%rax, (%r15)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_l2down_skb
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
LBB0_5:
	movq	_MISDN_ID_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
LBB0_6:
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_kfree_skb
LBB0_8:
	movq	(%r15), %rax
	movq	_MISDN_ID_NONE@GOTPCREL(%rip), %rcx
	xorl	%r13d, %r13d
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	movq	_FLG_L1_NOTREADY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_and_clear_bit
	leaq	16(%r15), %rdi
	movq	_EV_L2_ACK_PULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r13d, %r13d
	xorl	%edx, %edx
	callq	_mISDN_FsmEvent
LBB0_10:
	movq	_FLG_L1_NOTREADY@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	%r14, %rsi
	callq	_test_and_set_bit
	testl	%eax, %eax
	jne	LBB0_15
## %bb.11:
	leaq	12(%r15), %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_mISDN_HEAD_ID
	movq	%rax, (%r15)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_l2down_skb
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movq	%r12, %rdi
	callq	_dev_kfree_skb
	movq	_MISDN_ID_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
LBB0_14:
	movl	(%rbx), %edi
	movq	%r14, %rsi
	callq	_test_and_clear_bit
LBB0_15:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_FLG_L1_NOTREADY,4,2            ## @FLG_L1_NOTREADY
	.comm	_MISDN_ID_NONE,8,3              ## @MISDN_ID_NONE
	.comm	_EV_L2_ACK_PULL,4,2             ## @EV_L2_ACK_PULL
	.no_dead_strip	_ph_data_confirm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ph_data_confirm
_ph_data_confirm:                       ; @ph_data_confirm
	.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	x22, x2
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh2:
	ldr	w25, [x8]
	neg	w21, w25
Lloh3:
	adrp	x24, _FLG_L1_NOTREADY@GOTPAGE
Lloh4:
	ldr	x24, [x24, _FLG_L1_NOTREADY@GOTPAGEOFF]
	ldr	w0, [x24]
	add	x20, x19, #8
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_11
; %bb.1:
	ldr	x8, [x23]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.2:
	add	x0, x19, #12
	bl	_skb_dequeue
Lloh5:
	adrp	x23, _MISDN_ID_NONE@GOTPAGE
Lloh6:
	ldr	x23, [x23, _MISDN_ID_NONE@GOTPAGEOFF]
	cbz	x0, LBB0_5
; %bb.3:
	mov	x21, x0
	bl	_mISDN_HEAD_ID
	str	x0, [x19]
	mov	x0, x19
	mov	x1, x21
	bl	_l2down_skb
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x21
	bl	_dev_kfree_skb
LBB0_5:
	ldr	x8, [x23]
	str	x8, [x19]
LBB0_6:
	cbz	w25, LBB0_8
; %bb.7:
	mov	x0, x22
	bl	_dev_kfree_skb
LBB0_8:
	ldr	x8, [x19]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:
	ldr	w0, [x24]
	mov	x1, x20
	bl	_test_and_clear_bit
	add	x0, x19, #16
Lloh7:
	adrp	x8, _EV_L2_ACK_PULL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EV_L2_ACK_PULL@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_mISDN_FsmEvent
LBB0_10:
	mov	w21, #0
LBB0_11:
	ldr	w0, [x24]
	mov	x1, x20
	bl	_test_and_set_bit
	cbnz	w0, LBB0_16
; %bb.12:
	add	x0, x19, #12
	bl	_skb_dequeue
	cbz	x0, LBB0_15
; %bb.13:
	mov	x22, x0
	bl	_mISDN_HEAD_ID
	str	x0, [x19]
	mov	x0, x19
	mov	x1, x22
	bl	_l2down_skb
	cbz	x0, LBB0_16
; %bb.14:
	mov	x0, x22
	bl	_dev_kfree_skb
Lloh10:
	adrp	x8, _MISDN_ID_NONE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MISDN_ID_NONE@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_15:
	ldr	w0, [x24]
	mov	x1, x20
	bl	_test_and_clear_bit
LBB0_16:
	mov	x0, x21
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_FLG_L1_NOTREADY,4,2            ; @FLG_L1_NOTREADY
	.comm	_MISDN_ID_NONE,8,3              ; @MISDN_ID_NONE
	.comm	_EV_L2_ACK_PULL,4,2             ; @EV_L2_ACK_PULL
	.no_dead_strip	_ph_data_confirm
.subsections_via_symbols
