	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function start_receive
_start_receive:                         ## @start_receive
	.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
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_elp_debug@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jl	LBB0_2
## %bb.1:
	movl	(%r15), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
LBB0_2:
	movq	_CMD_RECEIVE_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movl	$4, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movl	$1600, 8(%rbx)                  ## imm = 0x640
	movq	$0, 16(%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_send_pcb
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	incl	(%r14)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_elp_debug,4,2                  ## @elp_debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: restarting receiver\n"

	.comm	_CMD_RECEIVE_PACKET,4,2         ## @CMD_RECEIVE_PACKET
	.no_dead_strip	_start_receive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function start_receive
_start_receive:                         ; @start_receive
	.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	x20, x1
	mov	x21, x0
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _elp_debug@GOTPAGE
Lloh1:
	ldr	x8, [x8, _elp_debug@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.1:
	ldr	w1, [x21]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
LBB0_2:
Lloh5:
	adrp	x8, _CMD_RECEIVE_PACKET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CMD_RECEIVE_PACKET@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x20, #40]
	mov	w8, #4
	str	w8, [x20]
	stp	xzr, xzr, [x20, #24]
	mov	w8, #1600
	str	w8, [x20, #8]
	str	xzr, [x20, #16]
	mov	x0, x21
	mov	x1, x20
	bl	_send_pcb
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_4:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_elp_debug,4,2                  ; @elp_debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: restarting receiver\n"

	.comm	_CMD_RECEIVE_PACKET,4,2         ; @CMD_RECEIVE_PACKET
	.no_dead_strip	_start_receive
.subsections_via_symbols
