	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_rx_descbuffer
_setup_rx_descbuffer:                   ## @setup_rx_descbuffer
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	callq	_B43legacy_WARN_ON
	movl	(%r14), %edi
	movl	%r13d, %esi
	callq	___dev_alloc_skb
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_2:
	subl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rsi
	movl	(%r14), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_map_descbuffer
	movl	%eax, %r15d
	movl	(%r14), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_b43legacy_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	_GFP_DMA@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movq	%r12, %rdi
	callq	_dev_kfree_skb_any
	movl	(%r14), %edi
	movl	%r13d, %esi
	callq	___dev_alloc_skb
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_1
## %bb.6:
	movq	%rbx, %r13
	movq	(%r12), %rsi
	movl	(%r14), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_map_descbuffer
	movl	%eax, %r15d
	jmp	LBB0_8
LBB0_7:
	movq	%rbx, %r13
LBB0_8:
	movl	(%r14), %edx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	%r15d, %esi
	xorl	%ecx, %ecx
	callq	_b43legacy_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%r12, %rdi
	callq	_dev_kfree_skb_any
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, 8(%rax)
	movl	%r15d, (%rax)
	movl	(%r14), %ecx
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_op32_fill_descriptor
	movq	(%r12), %rax
	movq	$0, (%rax)
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_DMA,4,2                    ## @GFP_DMA
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_setup_rx_descbuffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_rx_descbuffer
_setup_rx_descbuffer:                   ; @setup_rx_descbuffer
	.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	x23, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_B43legacy_WARN_ON
	ldr	w0, [x20]
	mov	x1, x23
	bl	___dev_alloc_skb
	mov	x22, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
LBB0_1:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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_4:
	ldr	x1, [x22]
	ldr	w2, [x20]
	mov	x0, x20
	mov	w3, #0
	bl	_map_descbuffer
	mov	x24, x0
	ldr	w2, [x20]
	mov	x0, x20
	mov	x1, x24
	mov	w3, #0
	bl	_b43legacy_dma_mapping_error
	cbz	x0, LBB0_7
; %bb.5:
Lloh2:
	adrp	x8, _GFP_DMA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_DMA@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w23, w8, w23
	mov	x0, x22
	bl	_dev_kfree_skb_any
	ldr	w0, [x20]
	mov	x1, x23
	bl	___dev_alloc_skb
	mov	x22, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_1
; %bb.6:
	ldr	x1, [x22]
	ldr	w2, [x20]
	mov	x0, x20
	mov	w3, #0
	bl	_map_descbuffer
	mov	x24, x0
LBB0_7:
	ldr	w2, [x20]
	mov	x0, x20
	mov	x1, x24
	mov	w3, #0
	bl	_b43legacy_dma_mapping_error
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x22
	bl	_dev_kfree_skb_any
Lloh5:
	adrp	x8, _EIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_2
LBB0_9:
	str	x22, [x21, #8]
	str	w24, [x21]
	ldr	w3, [x20]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x24
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_op32_fill_descriptor
	mov	w0, #0
	ldr	x8, [x22]
	str	xzr, [x8]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_DMA,4,2                    ; @GFP_DMA
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_setup_rx_descbuffer
.subsections_via_symbols
