	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipv6_dup_options               ## -- Begin function ipv6_dup_options
	.p2align	4, 0x90
_ipv6_dup_options:                      ## @ipv6_dup_options
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	32(%rsi), %esi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_sock_kmalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %r14
	subq	%r15, %r14
	movl	32(%r15), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	addq	%r14, %rax
	movq	%rax, 24(%rbx)
LBB0_3:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	addq	%r14, %rax
	movq	%rax, 16(%rbx)
LBB0_5:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	addq	%r14, %rax
	movq	%rax, 8(%rbx)
LBB0_7:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	addq	%r14, %rax
	movq	%rax, (%rbx)
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipv6_dup_options               ; -- Begin function ipv6_dup_options
	.p2align	2
_ipv6_dup_options:                      ; @ipv6_dup_options
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	ldr	w1, [x1, #32]
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_sock_kmalloc
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.1:
	sub	x21, x19, x20
	ldr	w2, [x20, #32]
	mov	x0, x19
	mov	x1, x20
	bl	_memcpy
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_3
; %bb.2:
	add	x8, x8, x21
	str	x8, [x19, #24]
LBB0_3:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.4:
	add	x8, x8, x21
	str	x8, [x19, #16]
LBB0_5:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_7
; %bb.6:
	add	x8, x8, x21
	str	x8, [x19, #8]
LBB0_7:
	ldr	x8, [x19]
	cbz	x8, LBB0_9
; %bb.8:
	add	x8, x8, x21
	str	x8, [x19]
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
.subsections_via_symbols
