	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ioc3_alloc_skb
_ioc3_alloc_skb:                        ## @ioc3_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	%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	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	_RX_BUF_SIZE@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_IOC3_DMA_XFER_LEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rax,%rcx), %rdi
	decq	%rdi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	(%rax), %rdi
	callq	_aligned_rx_skb_addr
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_skb_reserve
LBB0_4:
	movl	(%r13), %edi
	movq	(%rbx), %rsi
	movq	(%r14), %rdx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_map_single
	movl	%eax, %r14d
	movl	(%r13), %edi
	movl	%eax, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_dev_kfree_skb_any
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_6:
	movl	%r14d, (%r12)
	movq	(%rbx), %rax
	movq	%rax, (%r15)
	movq	_RX_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_skb_reserve
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_BUF_SIZE,8,3                ## @RX_BUF_SIZE
	.comm	_IOC3_DMA_XFER_LEN,8,3          ## @IOC3_DMA_XFER_LEN
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_RX_OFFSET,4,2                  ## @RX_OFFSET
	.no_dead_strip	_ioc3_alloc_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ioc3_alloc_skb
_ioc3_alloc_skb:                        ; @ioc3_alloc_skb
	.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	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x24, _RX_BUF_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _RX_BUF_SIZE@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh2:
	adrp	x9, _IOC3_DMA_XFER_LEN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IOC3_DMA_XFER_LEN@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x8, x8, x9
	sub	x0, x8, #1
Lloh5:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_alloc_skb
	cbz	x0, LBB0_5
; %bb.1:
	mov	x22, x0
	ldr	x0, [x0]
	bl	_aligned_rx_skb_addr
	cbz	w0, LBB0_3
; %bb.2:
	mov	x1, x0
	mov	x0, x22
	bl	_skb_reserve
LBB0_3:
	ldr	w0, [x23]
	ldr	x1, [x22]
	ldr	x2, [x24]
Lloh8:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	bl	_dma_map_single
	mov	x24, x0
	ldr	w0, [x23]
	mov	x1, x24
	bl	_dma_mapping_error
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x22
	bl	_dev_kfree_skb_any
LBB0_5:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_6:
	str	w24, [x21]
	ldr	x8, [x22]
	str	x8, [x20]
Lloh14:
	adrp	x8, _RX_OFFSET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RX_OFFSET@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_skb_reserve
	mov	w0, #0
	str	x22, [x19]
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_BUF_SIZE,8,3                ; @RX_BUF_SIZE
	.comm	_IOC3_DMA_XFER_LEN,8,3          ; @IOC3_DMA_XFER_LEN
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_RX_OFFSET,4,2                  ; @RX_OFFSET
	.no_dead_strip	_ioc3_alloc_skb
.subsections_via_symbols
