	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipv6cp_PushPacket              ## -- Begin function ipv6cp_PushPacket
	.p2align	4, 0x90
_ipv6cp_PushPacket:                     ## @ipv6cp_PushPacket
	.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	16(%rdi), %r15
	movl	$0, -44(%rbp)
	movl	$0, -48(%rbp)
	movq	8(%rdi), %rax
	movq	_ST_OPENED@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpq	%rax, 8(%rsi)
	je	LBB0_4
## %bb.2:
	leaq	8(%r14), %rdi
	callq	_ccp_Required
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_LogPHASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rsi
	callq	_log_Printf
	jmp	LBB0_12
LBB0_4:
	movq	(%rbx), %r13
	movq	%rbx, %rdi
	callq	_IPV6CP_QUEUES
	cltq
	leaq	-8(,%rax,8), %rdi
	addq	%r13, %rdi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rdi)
	jne	LBB0_6
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	-8(%rdi), %rax
	cmpq	(%rbx), %rdi
	movq	%rax, %rdi
	jne	LBB0_5
	jmp	LBB0_12
LBB0_6:
	callq	_m_dequeue
	leaq	-44(%rbp), %rsi
	movq	%rax, %rdi
	movl	$4, %edx
	callq	_mbuf_Read
	movq	%rax, %rdi
	callq	_m_pullup
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_m_length
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_MBUF_CTOP
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-48(%rbp), %rcx
	movl	%eax, %edi
	movq	%r15, %rdx
	callq	_FilterCheck
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movl	-44(%rbp), %esi
	testl	%esi, %esi
	jne	LBB0_9
## %bb.8:
	movl	-48(%rbp), %esi
	movl	%esi, -44(%rbp)
LBB0_9:
	movq	%r15, %rdi
	callq	_bundle_StartIdleTimer
LBB0_10:
	movq	_PROTO_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_link_PushPacket
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_ipv6cp_AddOutOctets
	movl	$1, %r12d
LBB0_12:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ST_OPENED,8,3                  ## @ST_OPENED
	.comm	_LogPHASE,4,2                   ## @LogPHASE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Not transmitting... waiting for CCP\n"

	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_PROTO_IPV6,4,2                 ## @PROTO_IPV6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipv6cp_PushPacket              ; -- Begin function ipv6cp_PushPacket
	.p2align	2
_ipv6cp_PushPacket:                     ; @ipv6cp_PushPacket
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	mov	w0, #0
	str	xzr, [sp, #8]
	ldp	x8, x21, [x19, #8]
Lloh0:
	adrp	x9, _ST_OPENED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ST_OPENED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.1:
	mov	x20, x1
	mov	x0, x1
	ldr	x9, [x0, #8]!
	cmp	x9, x8
	b.eq	LBB0_4
; %bb.2:
	bl	_ccp_Required
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _LogPHASE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LogPHASE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w2, [x20]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_Printf
	b	LBB0_7
LBB0_4:
	ldr	x22, [x19]
	mov	x0, x19
	bl	_IPV6CP_QUEUES
	add	x8, x22, w0, sxtw #3
	sub	x0, x8, #8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x0]
	cbnz	x8, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19]
	sub	x9, x0, #8
	cmp	x0, x8
	mov	x0, x9
	b.ne	LBB0_5
LBB0_7:
	mov	w0, #0
	b	LBB0_13
LBB0_8:
	bl	_m_dequeue
	add	x1, sp, #12
	mov	w2, #4
	bl	_mbuf_Read
	bl	_m_pullup
	mov	x23, x0
	bl	_m_length
	mov	x22, x0
	mov	x0, x23
	bl	_MBUF_CTOP
Lloh8:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	x2, x21
	bl	_FilterCheck
	cbnz	w0, LBB0_12
; %bb.9:
	ldr	w1, [sp, #12]
	cbnz	w1, LBB0_11
; %bb.10:
	ldr	w1, [sp, #8]
	str	w1, [sp, #12]
LBB0_11:
	mov	x0, x21
	bl	_bundle_StartIdleTimer
LBB0_12:
Lloh11:
	adrp	x8, _PROTO_IPV6@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PROTO_IPV6@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	mov	w3, #0
	bl	_link_PushPacket
	mov	x0, x19
	mov	x1, x22
	bl	_ipv6cp_AddOutOctets
	mov	w0, #1
LBB0_13:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ST_OPENED,8,3                  ; @ST_OPENED
	.comm	_LogPHASE,4,2                   ; @LogPHASE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Not transmitting... waiting for CCP\n"

	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_PROTO_IPV6,4,2                 ; @PROTO_IPV6
.subsections_via_symbols
