	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function disc_done
_disc_done:                             ## @disc_done
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_PF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movl	%eax, %ebx
	leaq	-24(%rbp), %r14
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_bzero
	movl	-24(%rbp), %edi
	movq	_DISC_IFNAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_DISC_IFUNIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.1(%rip), %rdx
	movl	$4, %esi
	callq	_snprintf
	movq	_SIOCIFDESTROY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	movq	%r14, %rdx
	callq	_ioctl
	testq	%rax, %rax
	jns	LBB0_3
## %bb.2:
	movl	-24(%rbp), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_warn
LBB0_3:
	movl	%ebx, %edi
	callq	_close
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_warn                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_INET,4,2                    ## @PF_INET
	.comm	_SOCK_RAW,4,2                   ## @SOCK_RAW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"disc_done: socket(PF_INET, SOCK_RAW, 0)"

L_.str.1:                               ## @.str.1
	.asciz	"%s%d"

	.comm	_DISC_IFNAME,8,3                ## @DISC_IFNAME
	.comm	_DISC_IFUNIT,4,2                ## @DISC_IFUNIT
	.comm	_SIOCIFDESTROY,4,2              ## @SIOCIFDESTROY
L_.str.2:                               ## @.str.2
	.asciz	"disc_done: ioctl(%s, SIOCIFDESTROY)"

	.no_dead_strip	_disc_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function disc_done
_disc_done:                             ; @disc_done
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _PF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_INET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SOCK_RAW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SOCK_RAW@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #4
	bl	_bzero
	ldr	w0, [sp, #8]
Lloh6:
	adrp	x8, _DISC_IFNAME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DISC_IFNAME@GOTPAGEOFF]
Lloh8:
	ldr	x3, [x8]
Lloh9:
	adrp	x8, _DISC_IFUNIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DISC_IFUNIT@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #4
	bl	_snprintf
Lloh14:
	adrp	x8, _SIOCIFDESTROY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SIOCIFDESTROY@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_ioctl
	tbz	x0, #63, LBB0_3
; %bb.2:
	ldr	w8, [sp, #8]
	str	x8, [sp]
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warn
LBB0_3:
	mov	x0, x19
	bl	_close
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_warn
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_INET,4,2                    ; @PF_INET
	.comm	_SOCK_RAW,4,2                   ; @SOCK_RAW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"disc_done: socket(PF_INET, SOCK_RAW, 0)"

l_.str.1:                               ; @.str.1
	.asciz	"%s%d"

	.comm	_DISC_IFNAME,8,3                ; @DISC_IFNAME
	.comm	_DISC_IFUNIT,4,2                ; @DISC_IFUNIT
	.comm	_SIOCIFDESTROY,4,2              ; @SIOCIFDESTROY
l_.str.2:                               ; @.str.2
	.asciz	"disc_done: ioctl(%s, SIOCIFDESTROY)"

	.no_dead_strip	_disc_done
.subsections_via_symbols
