	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mac_drv_rx_init                ## -- Begin function mac_drv_rx_init
	.p2align	4, 0x90
_mac_drv_rx_init:                       ## @mac_drv_rx_init
	.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
	movl	%r8d, %r12d
	movq	%rcx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	cmpl	%r12d, %ebx
	jne	LBB0_3
## %bb.1:
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	movq	_FDDI_MAC_HDR_LEN@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jg	LBB0_3
## %bb.4:
	leal	3(%rbx), %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r12
	movq	%rax, %rdi
	movl	$3, %esi
	callq	_skb_reserve
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_skb_put
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_skb_copy_to_linear_data
	movl	(%r15), %esi
	movq	%r12, %rdi
	callq	_fddi_type_trans
	movl	%eax, (%r12)
	movq	%r12, %rdi
	callq	_netif_rx
	jmp	LBB0_7
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_7:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"entering mac_drv_rx_init(len=%d)\n"

	.comm	_FDDI_MAC_HDR_LEN,4,2           ## @FDDI_MAC_HDR_LEN
L_.str.1:                               ## @.str.1
	.asciz	"fddi: Discard invalid local SMT frame\n"

L_.str.2:                               ## @.str.2
	.asciz	"  len=%d, la_len=%d, (ULONG) look_ahead=%08lXh.\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
L_.str.3:                               ## @.str.3
	.asciz	"fddi: Local SMT: skb memory exhausted.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mac_drv_rx_init                ; -- Begin function mac_drv_rx_init
	.p2align	2
_mac_drv_rx_init:                       ; @mac_drv_rx_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x22, x4
	mov	x20, x3
	mov	x19, x1
	mov	x21, x0
	mov	x8, x1
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	cmp	w19, w22
	b.ne	LBB0_5
; %bb.1:
	cbz	x20, LBB0_5
; %bb.2:
Lloh2:
	adrp	x8, _FDDI_MAC_HDR_LEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FDDI_MAC_HDR_LEN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w19
	b.gt	LBB0_5
; %bb.3:
	add	w0, w19, #3
Lloh5:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_alloc_skb
	cbz	x0, LBB0_8
; %bb.4:
	mov	x22, x0
	mov	w1, #3
	bl	_skb_reserve
	mov	x0, x22
	mov	x1, x19
	bl	_skb_put
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_skb_copy_to_linear_data
	ldr	w1, [x21]
	mov	x0, x22
	bl	_fddi_type_trans
	str	w0, [x22]
	mov	x0, x22
	bl	_netif_rx
	b	LBB0_7
LBB0_5:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	stp	x22, x20, [sp, #8]
	str	x19, [sp]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_6:
	bl	_pr_debug
LBB0_7:
	mov	w0, #0
	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
	add	sp, sp, #80
	ret
LBB0_8:
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"entering mac_drv_rx_init(len=%d)\n"

	.comm	_FDDI_MAC_HDR_LEN,4,2           ; @FDDI_MAC_HDR_LEN
l_.str.1:                               ; @.str.1
	.asciz	"fddi: Discard invalid local SMT frame\n"

l_.str.2:                               ; @.str.2
	.asciz	"  len=%d, la_len=%d, (ULONG) look_ahead=%08lXh.\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
l_.str.3:                               ; @.str.3
	.asciz	"fddi: Local SMT: skb memory exhausted.\n"

.subsections_via_symbols
