	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rip6_disconnect
_rip6_disconnect:                       ## @rip6_disconnect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_sotoinpcb
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movq	_SS_ISCONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_1
## %bb.2:
	movq	_in6addr_any@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	callq	_rip6_abort
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_ENOTCONN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rip6_disconnect: inp == NULL"

	.comm	_SS_ISCONNECTED,4,2             ## @SS_ISCONNECTED
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.comm	_in6addr_any,4,2                ## @in6addr_any
	.no_dead_strip	_rip6_disconnect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rip6_disconnect
_rip6_disconnect:                       ; @rip6_disconnect
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_sotoinpcb
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _SS_ISCONNECTED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SS_ISCONNECTED@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _in6addr_any@GOTPAGE
Lloh6:
	ldr	x8, [x8, _in6addr_any@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x0, x19
	bl	_rip6_abort
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rip6_disconnect: inp == NULL"

	.comm	_SS_ISCONNECTED,4,2             ; @SS_ISCONNECTED
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.comm	_in6addr_any,4,2                ; @in6addr_any
	.no_dead_strip	_rip6_disconnect
.subsections_via_symbols
