	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xennet_alloc_one_rx_buffer
_xennet_alloc_one_rx_buffer:            ## @xennet_alloc_one_rx_buffer
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movl	(%rax), %edi
	movq	_RX_COPY_THRESHOLD@GOTPCREL(%rip), %rax
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	addq	(%rax), %rsi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %r12
	movq	___GFP_NOWARN@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	orl	(%r12), %edx
	callq	___netdev_alloc_skb
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
LBB0_5:
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_2:
	movl	(%r13), %edi
	orl	(%r12), %edi
	callq	_alloc_page
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_skb_add_rx_frag
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_skb_reserve
	movq	(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	callq	_kfree_skb
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_COPY_THRESHOLD,8,3          ## @RX_COPY_THRESHOLD
	.comm	_NET_IP_ALIGN,8,3               ## @NET_IP_ALIGN
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	___GFP_NOWARN,4,2               ## @__GFP_NOWARN
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.no_dead_strip	_xennet_alloc_one_rx_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xennet_alloc_one_rx_buffer
_xennet_alloc_one_rx_buffer:            ; @xennet_alloc_one_rx_buffer
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _RX_COPY_THRESHOLD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RX_COPY_THRESHOLD@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x21, _NET_IP_ALIGN@GOTPAGE
Lloh4:
	ldr	x21, [x21, _NET_IP_ALIGN@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh5:
	adrp	x22, _GFP_ATOMIC@GOTPAGE
Lloh6:
	ldr	x22, [x22, _GFP_ATOMIC@GOTPAGEOFF]
	add	x1, x9, x8
	ldr	w8, [x22]
Lloh7:
	adrp	x23, ___GFP_NOWARN@GOTPAGE
Lloh8:
	ldr	x23, [x23, ___GFP_NOWARN@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w2, w9, w8
	bl	___netdev_alloc_skb
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
LBB0_1:
	mov	x20, #0
	b	LBB0_4
LBB0_2:
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w0, w9, w8
	bl	_alloc_page
	cbz	x0, LBB0_5
; %bb.3:
	mov	x2, x0
Lloh9:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
	mov	x0, x20
	mov	w1, #0
	mov	w3, #0
	mov	w4, #0
	bl	_skb_add_rx_frag
	ldr	x1, [x21]
	mov	x0, x20
	bl	_skb_reserve
	ldr	x8, [x19]
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x20
	bl	_kfree_skb
	b	LBB0_1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_COPY_THRESHOLD,8,3          ; @RX_COPY_THRESHOLD
	.comm	_NET_IP_ALIGN,8,3               ; @NET_IP_ALIGN
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	___GFP_NOWARN,4,2               ; @__GFP_NOWARN
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.no_dead_strip	_xennet_alloc_one_rx_buffer
.subsections_via_symbols
