	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt61pci_queue_init
_rt61pci_queue_init:                    ## @rt61pci_queue_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	leal	-131(%rax), %ecx
	cmpl	$4, %ecx
	jae	LBB0_1
## %bb.4:
	movl	$32, 4(%rdi)
	movq	_DATA_FRAME_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rdi)
	movq	_TXD_DESC_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	cmpl	$129, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.3:
	movl	$32, 4(%rdi)
	movq	_DATA_FRAME_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rdi)
	movq	_RXD_DESC_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movl	$4, 4(%rdi)
	movq	$0, 16(%rdi)
	movq	_TXINFO_SIZE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, 12(%rdi)
	movl	$4, 8(%rdi)
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_BUG                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DATA_FRAME_SIZE,8,3            ## @DATA_FRAME_SIZE
	.comm	_RXD_DESC_SIZE,4,2              ## @RXD_DESC_SIZE
	.comm	_TXD_DESC_SIZE,4,2              ## @TXD_DESC_SIZE
	.comm	_TXINFO_SIZE,4,2                ## @TXINFO_SIZE
	.no_dead_strip	_rt61pci_queue_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function rt61pci_queue_init
lCPI0_0:
	.long	32                              ; 0x20
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_rt61pci_queue_init:                    ; @rt61pci_queue_init
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	sub	w9, w8, #131
	cmp	w9, #4
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _DATA_FRAME_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DATA_FRAME_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _TXD_DESC_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TXD_DESC_SIZE@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.4:
Lloh5:
	adrp	x8, _DATA_FRAME_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DATA_FRAME_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _RXD_DESC_SIZE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _RXD_DESC_SIZE@GOTPAGEOFF]
LBB0_5:
	str	x8, [x0, #16]
	ldr	w8, [x9]
	str	w8, [x0, #12]
Lloh10:
	adrp	x8, lCPI0_0@PAGE
Lloh11:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x0, #4]
	ret
LBB0_6:
	str	xzr, [x0, #16]
Lloh12:
	adrp	x8, _TXINFO_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TXINFO_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x0, #12]
	movi.2s	v0, #4
	stur	d0, [x0, #4]
	ret
LBB0_7:
	b	_BUG
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_DATA_FRAME_SIZE,8,3            ; @DATA_FRAME_SIZE
	.comm	_RXD_DESC_SIZE,4,2              ; @RXD_DESC_SIZE
	.comm	_TXD_DESC_SIZE,4,2              ; @TXD_DESC_SIZE
	.comm	_TXINFO_SIZE,4,2                ; @TXINFO_SIZE
	.no_dead_strip	_rt61pci_queue_init
.subsections_via_symbols
