	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_got_one                        ## -- Begin function got_one
	.p2align	4, 0x90
_got_one:                               ## @got_one
	.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
	movl	$4120, %eax                     ## imm = 0x1018
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	8(%rdi), %r15
	leaq	-4128(%rbp), %rsi
	leaq	-4144(%rbp), %rcx
	leaq	-4136(%rbp), %r8
	movq	%r15, %rdi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_receive_packet
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movl	%eax, %ebx
	cmpl	$-1, %eax
	jne	LBB0_6
## %bb.2:
	movl	8(%r15), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_warning
	incl	(%r15)
	movq	%r15, %rdi
	callq	_interface_status
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	cmpq	$0, 16(%r15)
	je	LBB0_7
## %bb.4:
	cmpl	$21, (%r15)
	jl	LBB0_7
LBB0_5:
	movl	8(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_warning
	movl	$1, 4(%r15)
	movq	_interfaces_invalidated@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	(%r14), %edi
	callq	_close
	movq	%r14, %rdi
	callq	_remove_protocol
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_7
LBB0_6:
	leaq	-4140(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	-4144(%rbp), %ecx
	leaq	-4128(%rbp), %rsi
	leaq	-4136(%rbp), %r9
	movl	$4, %r8d
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_bootp_packet_handler
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$4120, %rsp                     ## imm = 0x1018
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"receive_packet failed on %s: %s"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"Interface %s no longer appears valid."

	.comm	_interfaces_invalidated,4,2     ## @interfaces_invalidated
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_got_one                        ; -- Begin function got_one
	.p2align	2
_got_one:                               ; @got_one
	.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	w9, #4128
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #32
	mov	x20, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x19, [x0, #8]
	add	x1, sp, #24
	add	x3, sp, #16
	add	x4, sp, #8
	mov	x0, x19
	mov	w2, #4096
	bl	_receive_packet
	cbz	w0, LBB0_7
; %bb.1:
	mov	x21, x0
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.2:
	ldr	w21, [x19, #8]
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_warning
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	mov	x0, x19
	bl	_interface_status
	cbz	w0, LBB0_5
; %bb.3:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	w8, [x19]
	cmp	w8, #21
	b.lt	LBB0_7
LBB0_5:
	ldr	w1, [x19, #8]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warning
	mov	w8, #1
	str	w8, [x19, #4]
Lloh12:
	adrp	x9, _interfaces_invalidated@GOTPAGE
Lloh13:
	ldr	x9, [x9, _interfaces_invalidated@GOTPAGEOFF]
Lloh14:
	str	w8, [x9]
	ldr	w0, [x20]
	bl	_close
	mov	x0, x20
	bl	_remove_protocol
	mov	x0, x19
	bl	_free
	b	LBB0_7
LBB0_6:
	add	x8, sp, #16
	orr	x1, x8, #0x4
	mov	w2, #4
	bl	_memcpy
	ldr	w3, [sp, #16]
	add	x1, sp, #24
	add	x5, sp, #8
	mov	x0, x19
	mov	x2, x21
	mov	w4, #4
	bl	_bootp_packet_handler
LBB0_7:
	ldur	x8, [x29, #-40]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #32
	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
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"receive_packet failed on %s: %s"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"Interface %s no longer appears valid."

	.comm	_interfaces_invalidated,4,2     ; @interfaces_invalidated
.subsections_via_symbols
