	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_in6_pcbconnect_mbuf            ## -- Begin function in6_pcbconnect_mbuf
	.p2align	4, 0x90
_in6_pcbconnect_mbuf:                   ## @in6_pcbconnect_mbuf
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	32(%rdi), %r14
	callq	_INP_WLOCK_ASSERT
	movq	%r14, %rdi
	callq	_INP_HASH_WLOCK_ASSERT
	leaq	-48(%rbp), %r12
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_in6_pcbladdr
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	leaq	4(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%r13), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leaq	24(%rbx), %r15
	movq	%r15, %rdi
	callq	_IN6_IS_ADDR_UNSPECIFIED
	testq	%rax, %rax
	cmoveq	%r15, %r12
	movq	(%rbx), %r8
	movq	$0, (%rsp)
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	%r12, %rcx
	xorl	%r9d, %r9d
	callq	_in6_pcblookup_hash_locked
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_EADDRINUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_10
LBB0_3:
	movq	%r15, %rdi
	callq	_IN6_IS_ADDR_UNSPECIFIED
	testq	%rax, %rax
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_7
## %bb.4:
	cmpq	$0, (%rbx)
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_in6_pcbbind
	testl	%eax, %eax
	jne	LBB0_10
LBB0_6:
	movl	-48(%rbp), %eax
	movl	%eax, (%r15)
LBB0_7:
	movl	4(%r13), %eax
	movl	%eax, 20(%rbx)
	movl	(%r13), %eax
	movl	%eax, 16(%rbx)
	movq	_IPV6_FLOWLABEL_MASK@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	notl	%eax
	andl	%eax, 8(%rbx)
	movq	_IN6P_AUTOFLOWLABEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 12(%rbx)
	je	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_ip6_randomflowlabel
	movl	%eax, %edi
	callq	_htonl
	andl	(%r14), %eax
	orl	%eax, 8(%rbx)
LBB0_9:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_in_pcbrehash_mbuf
	xorl	%eax, %eax
LBB0_10:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EADDRINUSE,4,2                 ## @EADDRINUSE
	.comm	_IPV6_FLOWLABEL_MASK,4,2        ## @IPV6_FLOWLABEL_MASK
	.comm	_IN6P_AUTOFLOWLABEL,4,2         ## @IN6P_AUTOFLOWLABEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_in6_pcbconnect_mbuf            ; -- Begin function in6_pcbconnect_mbuf
	.p2align	2
_in6_pcbconnect_mbuf:                   ; @in6_pcbconnect_mbuf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x24, [x0, #32]
	bl	_INP_WLOCK_ASSERT
	mov	x0, x24
	bl	_INP_HASH_WLOCK_ASSERT
	add	x27, sp, #8
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x21
	bl	_in6_pcbladdr
	cbnz	w0, LBB0_10
; %bb.1:
	mov	x25, x21
	ldr	w26, [x25], #4
	add	x23, x20, #24
	mov	x0, x23
	bl	_IN6_IS_ADDR_UNSPECIFIED
	cmp	x0, #0
	csel	x3, x23, x27, eq
	ldr	x4, [x20]
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	mov	w5, #0
	mov	x6, #0
	bl	_in6_pcblookup_hash_locked
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _EADDRINUSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EADDRINUSE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_10
LBB0_3:
	mov	x0, x23
	bl	_IN6_IS_ADDR_UNSPECIFIED
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x8, [x20]
	cbnz	x8, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, #0
	mov	x2, x22
	bl	_in6_pcbbind
	cbnz	w0, LBB0_10
LBB0_6:
	ldr	w8, [sp, #8]
	str	w8, [x23]
LBB0_7:
	ldr	d0, [x21]
	str	d0, [x20, #16]
Lloh3:
	adrp	x21, _IPV6_FLOWLABEL_MASK@GOTPAGE
Lloh4:
	ldr	x21, [x21, _IPV6_FLOWLABEL_MASK@GOTPAGEOFF]
	ldr	w8, [x21]
	ldp	w9, w10, [x20, #8]
	bic	w8, w9, w8
	str	w8, [x20, #8]
Lloh5:
	adrp	x8, _IN6P_AUTOFLOWLABEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IN6P_AUTOFLOWLABEL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w10
	b.eq	LBB0_9
; %bb.8:
	bl	_ip6_randomflowlabel
	bl	_htonl
	ldr	w8, [x21]
	and	w8, w8, w0
	ldr	w9, [x20, #8]
	orr	w8, w9, w8
	str	w8, [x20, #8]
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	bl	_in_pcbrehash_mbuf
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EADDRINUSE,4,2                 ; @EADDRINUSE
	.comm	_IPV6_FLOWLABEL_MASK,4,2        ; @IPV6_FLOWLABEL_MASK
	.comm	_IN6P_AUTOFLOWLABEL,4,2         ; @IN6P_AUTOFLOWLABEL
.subsections_via_symbols
