	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_pci_write_data_h2c
_rtw_pci_write_data_h2c:                ## @rtw_pci_write_data_h2c
	.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	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	leaq	(%rbx,%rdx), %rdi
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_skb_reserve
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_skb_put
	movq	%rax, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_memcpy
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r15, -48(%rbp)
	movq	_RTW_TX_QUEUE_H2C@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_rtw_pci_xmit
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_RTW_TX_QUEUE_H2C,4,2           ## @RTW_TX_QUEUE_H2C
	.no_dead_strip	_rtw_pci_write_data_h2c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw_pci_write_data_h2c
_rtw_pci_write_data_h2c:                ; @rtw_pci_write_data_h2c
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x23, [x8]
	add	x0, x23, x2
	bl	_dev_alloc_skb
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
	mov	x1, x23
	bl	_skb_reserve
	mov	x0, x21
	mov	x1, x20
	bl	_skb_put
	mov	x1, x22
	mov	x2, x20
	bl	_memcpy
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	str	x20, [sp, #8]
Lloh0:
	adrp	x8, _RTW_TX_QUEUE_H2C@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTW_TX_QUEUE_H2C@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x21
	bl	_rtw_pci_xmit
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_RTW_TX_QUEUE_H2C,4,2           ; @RTW_TX_QUEUE_H2C
	.no_dead_strip	_rtw_pci_write_data_h2c
.subsections_via_symbols
