	.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_8
## %bb.1:
	movl	%eax, %ebx
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.2:
	movl	8(%r15), %ebx
	xorl	%eax, %eax
	callq	_WSAGetLastError
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_warning
	movl	(%r15), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%r15)
	cmpl	$20, %eax
	jl	LBB0_8
## %bb.3:
	movl	8(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_warning
	movl	$1, 4(%r15)
	movl	(%r14), %edi
	callq	_closesocket
	movq	%r14, %rdi
	callq	_remove_protocol
	movq	%r15, %rdi
	callq	_AdapterFindInfo
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$4, %rdi
	callq	_RemoveEntryList
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_8
LBB0_5:
	leaq	-4140(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	-4128(%rbp), %esi
	movl	-4124(%rbp), %edi
	callq	_AdapterFindByHardwareAddress
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	-4144(%rbp), %ecx
	leaq	-4128(%rbp), %rsi
	leaq	-4136(%rbp), %r9
	movl	$4, %r8d
	movq	%rax, %rdi
	movl	%ebx, %edx
	callq	_bootp_packet_handler
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_warning
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$4120, %rsp                     ## imm = 0x1018
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"receive_packet failed on %s: %d"

L_.str.1:                               ## @.str.1
	.asciz	"Interface %s no longer appears valid."

L_.str.2:                               ## @.str.2
	.asciz	"Discarding packet with a non-matching target physical address\n"

.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, #4144
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, #48
	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, #40
	add	x3, sp, #32
	add	x4, sp, #24
	mov	x0, x19
	mov	w2, #4096
	bl	_receive_packet
	cbz	w0, LBB0_8
; %bb.1:
	mov	x21, x0
	cmn	w0, #1
	b.ne	LBB0_5
; %bb.2:
	ldr	w21, [x19, #8]
	bl	_WSAGetLastError
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warning
	ldr	w8, [x19]
	add	w9, w8, #1
	str	w9, [x19]
	cmp	w8, #20
	b.lt	LBB0_8
; %bb.3:
	ldr	w8, [x19, #8]
	str	x8, [sp]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warning
	mov	w8, #1
	str	w8, [x19, #4]
	ldr	w0, [x20]
	bl	_closesocket
	mov	x0, x20
	bl	_remove_protocol
	mov	x0, x19
	bl	_AdapterFindInfo
	cbz	x0, LBB0_8
; %bb.4:
	mov	x19, x0
	add	x0, x0, #4
	bl	_RemoveEntryList
	mov	x0, x19
	bl	_free
	b	LBB0_8
LBB0_5:
	add	x8, sp, #32
	orr	x1, x8, #0x4
	mov	w2, #4
	bl	_memcpy
	ldp	w1, w0, [sp, #40]
	bl	_AdapterFindByHardwareAddress
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w3, [sp, #32]
	add	x1, sp, #40
	add	x5, sp, #24
	mov	x2, x21
	mov	w4, #4
	bl	_bootp_packet_handler
	b	LBB0_8
LBB0_7:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warning
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #48
	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_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"receive_packet failed on %s: %d"

l_.str.1:                               ; @.str.1
	.asciz	"Interface %s no longer appears valid."

l_.str.2:                               ; @.str.2
	.asciz	"Discarding packet with a non-matching target physical address\n"

.subsections_via_symbols
