	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enetc_set_fs_entry             ## -- Begin function enetc_set_fs_entry
	.p2align	4, 0x90
_enetc_set_fs_entry:                    ## @enetc_set_fs_entry
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	%edx, %edi
	callq	_cpu_to_le16
	movl	$4, %edi
	callq	_cpu_to_le16
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_cpu_to_le32
	movq	%rax, 24
	movq	(%r15), %rdi
	movq	_RFSE_ALIGN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$4, %rsi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-28(%rbp), %rdx
	callq	_dma_alloc_coherent
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	-28(%rbp), %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_enetc_set_fs_entry.cold.1
	xorl	%eax, %eax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function enetc_set_fs_entry.cold.1
_enetc_set_fs_entry.cold.1:             ## @enetc_set_fs_entry.cold.1
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movl	(%rdi), %edi
	movq	_RFSE_ALIGN@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	callq	_ALIGN
	movl	%eax, %r15d
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	callq	_PTR_ALIGN
	pushq	$4
	popq	%rdx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_memcpy
	movl	%r15d, %edi
	callq	_lower_32_bits
	movl	%eax, %edi
	callq	_cpu_to_le32
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_RFSE_ALIGN,8,3                 ## @RFSE_ALIGN
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DMA mapping of RFS entry failed!\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enetc_set_fs_entry             ; -- Begin function enetc_set_fs_entry
	.p2align	2
_enetc_set_fs_entry:                    ; @enetc_set_fs_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_cpu_to_le16
	mov	w0, #4
	bl	_cpu_to_le16
	mov	w0, #0
	bl	_cpu_to_le32
	mov	w8, #24
	str	x0, [x8]
Lloh0:
	adrp	x8, _RFSE_ALIGN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RFSE_ALIGN@GOTPAGEOFF]
	ldr	x0, [x20]
Lloh2:
	ldr	x8, [x8]
	add	x1, x8, #4
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x2, sp, #12
	bl	_dma_alloc_coherent
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x20]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	mov	x1, x0
	add	x0, sp, #12
	mov	x2, x19
	bl	_enetc_set_fs_entry.cold.1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function enetc_set_fs_entry.cold.1
_enetc_set_fs_entry.cold.1:             ; @enetc_set_fs_entry.cold.1
	.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, x2
	mov	x20, x1
	ldr	w0, [x0]
Lloh11:
	adrp	x22, _RFSE_ALIGN@GOTPAGE
Lloh12:
	ldr	x22, [x22, _RFSE_ALIGN@GOTPAGEOFF]
	ldr	x1, [x22]
	bl	_ALIGN
	mov	x21, x0
	ldr	x1, [x22]
	mov	x0, x20
	bl	_PTR_ALIGN
	mov	x1, x19
	mov	w2, #4
	bl	_memcpy
	mov	x0, x21
	bl	_lower_32_bits
	bl	_cpu_to_le32
	brk	#0x1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_RFSE_ALIGN,8,3                 ; @RFSE_ALIGN
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DMA mapping of RFS entry failed!\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
