	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip6_getpmtu
_ip6_getpmtu:                           ## @ip6_getpmtu
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r15
	movq	%rcx, %r13
	movq	%rdx, %r12
	movq	%rdi, %rbx
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	leaq	20(%rbx), %rdi
	movq	%r13, %rsi
	callq	_IN6_ARE_ADDR_EQUAL
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_9
	jmp	LBB0_5
LBB0_1:
	xorl	%edx, %edx
	jmp	LBB0_9
LBB0_3:
	movq	$0, 8(%rbx)
LBB0_5:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leaq	16(%rbx), %r14
	movq	%r14, %rdi
	movl	$12, %esi
	callq	_bzero
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movl	$12, (%r14)
	movl	(%r13), %eax
	movl	%eax, 4(%r14)
	leaq	-64(%rbp), %r14
	leaq	-44(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_in6_splitscope
	movl	-44(%rbp), %edx
	leaq	-72(%rbp), %r9
	movl	16(%rbp), %edi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_fib6_lookup_nh_basic
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	8(%rbx), %rdx
	jmp	LBB0_8
LBB0_7:
	movq	-72(%rbp), %rdx
	movq	%rdx, 8(%rbx)
LBB0_8:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_9:
	movl	24(%rbp), %r9d
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	(%rax), %rdx
LBB0_11:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	_ip6_calcmtu
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.no_dead_strip	_ip6_getpmtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip6_getpmtu
_ip6_getpmtu:                           ; @ip6_getpmtu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x7
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x0
	cbz	w1, LBB0_3
; %bb.1:
	mov	x25, x6
	add	x0, x24, #20
	mov	x1, x22
	bl	_IN6_ARE_ADDR_EQUAL
	cbz	w0, LBB0_4
; %bb.2:
	ldr	x2, [x24, #8]
	cbnz	x2, LBB0_7
	b	LBB0_5
LBB0_3:
	mov	x2, #0
	ldr	x8, [x24]
	cbnz	x8, LBB0_8
	b	LBB0_9
LBB0_4:
	str	xzr, [x24, #8]
LBB0_5:
	add	x26, x24, #16
	mov	w27, #12
	mov	x0, x26
	mov	w1, #12
	bl	_bzero
Lloh0:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x26, #8]
	str	w27, [x26]
	ldr	w8, [x22]
	str	w8, [x26, #4]
	add	x1, sp, #16
	add	x2, sp, #12
	mov	x0, x22
	bl	_in6_splitscope
	ldr	w2, [sp, #12]
	add	x1, sp, #16
	add	x5, sp, #24
	mov	x0, x25
	mov	w3, #0
	mov	w4, #0
	bl	_fib6_lookup_nh_basic
	cbz	x0, LBB0_10
; %bb.6:
	ldr	x2, [x24, #8]
LBB0_7:
	ldr	x8, [x24]
	cbz	x8, LBB0_9
LBB0_8:
	ldr	x2, [x8]
LBB0_9:
	mov	x0, x23
	mov	x1, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_ip6_calcmtu
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_10:
	ldr	x2, [sp, #24]
	str	x2, [x24, #8]
	ldr	x8, [x24]
	cbnz	x8, LBB0_8
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.no_dead_strip	_ip6_getpmtu
.subsections_via_symbols
