	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_pkt
_load_pkt:                              ## @load_pkt
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r14d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	_MinTU@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	jge	LBB0_2
## %bb.1:
	movq	(%rbx), %rcx
	movl	$0, (%rcx)
	movl	$512, %r12d                     ## imm = 0x200
	subl	%r14d, %r12d
	movl	%r12d, 4(%rcx)
	jmp	LBB0_5
LBB0_2:
	movq	_MTU@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	jge	LBB0_4
## %bb.3:
	movl	20(%r12), %ecx
	movl	%ecx, -60(%rbp)
	movl	$255, -72(%rbp)
	movl	$65535, %edi                    ## imm = 0xFFFF
	movq	%rax, %r13
	callq	_htons
	movl	%eax, -64(%rbp)
	movq	(%rbx), %rax
	movl	$0, (%rax)
	movl	$512, %r12d                     ## imm = 0x200
	subl	%r14d, %r12d
	movq	_RFC1201_HDR_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	%r12d, %edx
	subl	%r8d, %edx
	movl	%edx, 4(%rax)
	leaq	-80(%rbp), %rcx
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	*8(%r13)
	movq	%r13, %rax
	jmp	LBB0_5
LBB0_4:
	movl	$256, %r12d                     ## imm = 0x100
	subl	%r14d, %r12d
	movq	(%rbx), %rcx
	movl	%r12d, (%rcx)
LBB0_5:
	movq	_ARC_HDR_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%r15, %rdi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %esi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	movq	%rax, %r14
	callq	*8(%rax)
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	callq	*8(%r14)
	movl	12(%rbx), %eax
	movl	%eax, (%r14)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MinTU,4,2                      ## @MinTU
	.comm	_MTU,4,2                        ## @MTU
	.comm	_RFC1201_HDR_SIZE,4,2           ## @RFC1201_HDR_SIZE
	.comm	_ARC_HDR_SIZE,4,2               ## @ARC_HDR_SIZE
	.no_dead_strip	_load_pkt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_pkt
_load_pkt:                              ; @load_pkt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x4
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x24, x0
	bl	_netdev_priv
	mov	x23, x0
Lloh0:
	adrp	x8, _MinTU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MinTU@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ge	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	mov	w9, #512
	sub	w25, w9, w20
	stp	wzr, w25, [x8]
	b	LBB0_5
LBB0_2:
Lloh3:
	adrp	x8, _MTU@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MTU@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ge	LBB0_4
; %bb.3:
	ldr	w8, [x21, #20]
	mov	w9, #255
	str	w8, [sp, #28]
	str	w9, [sp, #16]
	mov	w0, #65535
	bl	_htons
	str	w0, [sp, #24]
	ldr	x8, [x19]
	str	wzr, [x8]
Lloh6:
	adrp	x9, _RFC1201_HDR_SIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RFC1201_HDR_SIZE@GOTPAGEOFF]
	mov	w10, #512
Lloh8:
	ldr	w4, [x9]
	sub	w25, w10, w20
	sub	w2, w25, w4
	str	w2, [x8, #4]
	ldr	x8, [x23, #8]
	add	x3, sp, #8
	mov	x0, x24
	mov	x1, x22
	blr	x8
	b	LBB0_5
LBB0_4:
	mov	w8, #256
	sub	w25, w8, w20
	ldr	x8, [x19]
	str	w25, [x8]
LBB0_5:
	ldr	x8, [x23, #8]
Lloh9:
	adrp	x9, _ARC_HDR_SIZE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ARC_HDR_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x9]
	mov	x0, x24
	mov	x1, x22
	mov	w2, #0
	mov	x3, x19
	blr	x8
	ldr	x8, [x23, #8]
	mov	x0, x24
	mov	x1, x22
	mov	x2, x25
	mov	x3, x21
	mov	x4, x20
	blr	x8
	ldr	w8, [x19, #12]
	str	w8, [x23]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MinTU,4,2                      ; @MinTU
	.comm	_MTU,4,2                        ; @MTU
	.comm	_RFC1201_HDR_SIZE,4,2           ; @RFC1201_HDR_SIZE
	.comm	_ARC_HDR_SIZE,4,2               ; @ARC_HDR_SIZE
	.no_dead_strip	_load_pkt
.subsections_via_symbols
