	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl1c_alloc_skb
_atl1c_alloc_skb:                       ## @atl1c_alloc_skb
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jle	LBB0_1
## %bb.10:
	movl	24(%rbx), %esi
	movl	28(%rbx), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_alloc_skb               ## TAILCALL
LBB0_1:
	movq	16(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_2
LBB0_5:
	movq	%r14, %rdi
	callq	_page_address
	addq	8(%rbx), %rax
	movq	(%rbx), %rsi
	movq	%rax, %rdi
	callq	_build_skb
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	_NET_SKB_PAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_skb_reserve
	movq	8(%rbx), %rax
	addq	(%rbx), %rax
	movq	%rax, 8(%rbx)
	cmpq	(%r12), %rax
	jge	LBB0_7
## %bb.8:
	movq	%r14, %rdi
	callq	_get_page
	jmp	LBB0_9
LBB0_2:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_alloc_page
	movq	%rax, %r14
	movq	%rax, 16(%rbx)
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_7:
	movq	$0, 16(%rbx)
LBB0_9:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	$0, 8(%rbx)
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_NET_SKB_PAD,4,2                ## @NET_SKB_PAD
	.no_dead_strip	_atl1c_alloc_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1c_alloc_skb
_atl1c_alloc_skb:                       ; @atl1c_alloc_skb
	.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	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x22, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PAGE_SIZE@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.le	LBB0_2
; %bb.1:
	ldp	w1, w0, [x19, #24]
	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
	b	_netdev_alloc_skb
LBB0_2:
	ldr	x20, [x19, #16]
	cbz	x20, LBB0_6
LBB0_3:
	mov	x0, x20
	bl	_page_address
	ldp	x1, x8, [x19]
	add	x0, x8, x0
	bl	_build_skb
	mov	x21, x0
	bl	_likely
	cbz	x0, LBB0_9
; %bb.4:
Lloh2:
	adrp	x8, _NET_SKB_PAD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NET_SKB_PAD@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_skb_reserve
	ldp	x8, x9, [x19]
	ldr	x10, [x22]
	add	x8, x9, x8
	cmp	x8, x10
	str	x8, [x19, #8]
	b.ge	LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_get_page
	b	LBB0_9
LBB0_6:
Lloh5:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_alloc_page
	mov	x20, x0
	str	x0, [x19, #16]
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_10
; %bb.7:
	mov	x21, #0
	b	LBB0_9
LBB0_8:
	str	xzr, [x19, #16]
LBB0_9:
	mov	x0, x21
	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:
	str	xzr, [x19, #8]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_NET_SKB_PAD,4,2                ; @NET_SKB_PAD
	.no_dead_strip	_atl1c_alloc_skb
.subsections_via_symbols
