	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip6_pcbopts
_ip6_pcbopts:                           ## @ip6_pcbopts
	.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, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	(%rcx), %r13
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_ip6_clearpktopts
	jmp	LBB0_3
LBB0_2:
	movq	_M_IP6OPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$48, %edi
	callq	_malloc
	movq	%rax, %rbx
LBB0_3:
	movq	$0, (%r14)
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	cmpq	$0, (%r15)
	je	LBB0_5
## %bb.6:
	testq	%r13, %r13
	je	LBB0_7
## %bb.8:
	movq	(%r13), %rcx
	jmp	LBB0_9
LBB0_5:
	movq	_M_IP6OPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_free
	xorl	%r12d, %r12d
	jmp	LBB0_12
LBB0_7:
	xorl	%ecx, %ecx
LBB0_9:
	movq	(%r12), %rax
	movl	(%rax), %r8d
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_ip6_setpktopts
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_ip6_clearpktopts
	movq	_M_IP6OPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_free
	movl	%r15d, %r12d
	jmp	LBB0_12
LBB0_11:
	movq	%rbx, (%r14)
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	_M_IP6OPT,4,2                   ## @M_IP6OPT
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.no_dead_strip	_ip6_pcbopts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip6_pcbopts
_ip6_pcbopts:                           ; @ip6_pcbopts
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x19, [x0]
	ldr	x23, [x3]
	cbz	x19, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #-1
	bl	_ip6_clearpktopts
	str	xzr, [x20]
	cbnz	x21, LBB0_3
	b	LBB0_6
LBB0_2:
Lloh0:
	adrp	x8, _M_IP6OPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_IP6OPT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w0, #48
	bl	_malloc
	mov	x19, x0
	str	xzr, [x20]
	cbz	x21, LBB0_6
LBB0_3:
	ldr	x8, [x21]
	cbz	x8, LBB0_6
; %bb.4:
	cbz	x23, LBB0_7
; %bb.5:
	ldr	x3, [x23]
	b	LBB0_8
LBB0_6:
Lloh6:
	adrp	x8, _M_IP6OPT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M_IP6OPT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_free
	mov	w21, #0
	b	LBB0_11
LBB0_7:
	mov	x3, #0
LBB0_8:
	ldr	x8, [x22]
	ldr	w4, [x8]
	mov	x0, x21
	mov	x1, x19
	mov	x2, #0
	bl	_ip6_setpktopts
	mov	x21, x0
	cbz	w0, LBB0_10
; %bb.9:
	mov	x0, x19
	mov	w1, #-1
	bl	_ip6_clearpktopts
Lloh9:
	adrp	x8, _M_IP6OPT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _M_IP6OPT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_free
	b	LBB0_11
LBB0_10:
	str	x19, [x20]
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_M_IP6OPT,4,2                   ; @M_IP6OPT
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.no_dead_strip	_ip6_pcbopts
.subsections_via_symbols
