	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pf_change_ap
_pf_change_ap:                          ## @pf_change_ap
	.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	%r9, %r12
	movq	%r8, %r14
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movl	32(%rbp), %r15d
	leaq	-56(%rbp), %rdi
	movl	%r15d, %edx
	callq	_PF_ACPY
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_PF_ACPY
	movq	_CSUM_DELAY_DATA@GOTPCREL(%rip), %rax
	movq	_CSUM_DELAY_DATA_IPV6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	testl	%edx, (%r13)
	je	LBB0_2
## %bb.1:
	notl	(%r14)
LBB0_2:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	16(%rbp), %esi
	movl	%esi, (%rdx)
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, (%r13)
	je	LBB0_4
## %bb.3:
	movl	(%r14), %eax
	cmpl	$-1, %eax
	notl	%eax
	movl	$65535, %ecx                    ## imm = 0xFFFF
	cmovnel	%eax, %ecx
	movl	%ecx, (%r14)
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CSUM_DELAY_DATA,4,2            ## @CSUM_DELAY_DATA
	.comm	_CSUM_DELAY_DATA_IPV6,4,2       ## @CSUM_DELAY_DATA_IPV6
	.no_dead_strip	_pf_change_ap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pf_change_ap
_pf_change_ap:                          ; @pf_change_ap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x6
	mov	x23, x5
	mov	x19, x4
	mov	x21, x2
	mov	x24, x1
	mov	x22, x0
	ldr	w25, [x29, #16]
	add	x0, sp, #8
	mov	x2, x25
	bl	_PF_ACPY
	mov	x0, x24
	mov	x1, x23
	mov	x2, x25
	bl	_PF_ACPY
	ldr	w10, [x22]
Lloh0:
	adrp	x8, _CSUM_DELAY_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CSUM_DELAY_DATA@GOTPAGEOFF]
	ldr	w11, [x8]
Lloh2:
	adrp	x9, _CSUM_DELAY_DATA_IPV6@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CSUM_DELAY_DATA_IPV6@GOTPAGEOFF]
	ldr	w12, [x9]
	orr	w11, w12, w11
	tst	w11, w10
	b.eq	LBB0_2
; %bb.1:
	ldr	w10, [x19]
	mvn	w10, w10
	str	w10, [x19]
LBB0_2:
	str	w20, [x21]
	ldr	w10, [x22]
	ldr	w8, [x8]
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w10
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x19]
	cmn	w8, #1
	mov	w9, #65535
	csinv	w8, w9, w8, eq
	str	w8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CSUM_DELAY_DATA,4,2            ; @CSUM_DELAY_DATA
	.comm	_CSUM_DELAY_DATA_IPV6,4,2       ; @CSUM_DELAY_DATA_IPV6
	.no_dead_strip	_pf_change_ap
.subsections_via_symbols
