	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_trx_fifo_info
_set_trx_fifo_info:                     ## @set_trx_fifo_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movslq	(%rax), %r10
	movl	$8, 8(%rdi)
	movl	4(%rax), %esi
	sarl	$7, %esi
	movl	%esi, 12(%rdi)
	movq	_RSVD_PG_H2C_EXTRAINFO_NUM@GOTPCREL(%rip), %rax
	movslq	(%rax), %r8
	movq	_RSVD_PG_H2C_STATICINFO_NUM@GOTPCREL(%rip), %rax
	movslq	(%rax), %r9
	movq	_RSVD_PG_H2CQ_NUM@GOTPCREL(%rip), %rax
	movslq	(%rax), %r11
	movq	_RSVD_PG_CPU_INSTRUCTION_NUM@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	movq	_RSVD_PG_FW_TXBUF_NUM@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leal	(%r8,%r10), %edx
	addl	%r9d, %edx
	addl	%r11d, %edx
	addl	%ecx, %edx
	leal	(%rax,%rdx), %ebx
	addl	$8, %ebx
	movl	%ebx, 16(%rdi)
	movl	%esi, %edx
	subl	%ebx, %edx
	jge	LBB0_2
## %bb.1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_2:
	movl	%edx, 20(%rdi)
	movl	%edx, 24(%rdi)
	movslq	%esi, %rsi
	subq	%r10, %rsi
	movq	%rsi, 72(%rdi)
	subq	%rax, %rsi
	movq	%rsi, 64(%rdi)
	subq	%rcx, %rsi
	movq	%rsi, 56(%rdi)
	subq	%r11, %rsi
	movq	%rsi, 48(%rdi)
	subq	%r9, %rsi
	movq	%rsi, 40(%rdi)
	subq	%r8, %rsi
	movq	%rsi, 32(%rdi)
	addl	$-8, %esi
	movl	%esi, 28(%rdi)
	xorl	%eax, %eax
	cmpl	%esi, %edx
	je	LBB0_5
## %bb.3:
	leaq	L_.str(%rip), %rsi
	callq	_rtw_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RSVD_PG_H2C_EXTRAINFO_NUM,4,2  ## @RSVD_PG_H2C_EXTRAINFO_NUM
	.comm	_RSVD_PG_H2C_STATICINFO_NUM,4,2 ## @RSVD_PG_H2C_STATICINFO_NUM
	.comm	_RSVD_PG_H2CQ_NUM,4,2           ## @RSVD_PG_H2CQ_NUM
	.comm	_RSVD_PG_CPU_INSTRUCTION_NUM,4,2 ## @RSVD_PG_CPU_INSTRUCTION_NUM
	.comm	_RSVD_PG_FW_TXBUF_NUM,4,2       ## @RSVD_PG_FW_TXBUF_NUM
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wrong rsvd driver address\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_set_trx_fifo_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_trx_fifo_info
_set_trx_fifo_info:                     ; @set_trx_fifo_info
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	mov	w10, #8
	ldp	w9, w8, [x8]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	asr	w11, w8, #7
	stp	w10, w11, [x0, #8]
Lloh0:
	adrp	x8, _RSVD_PG_H2C_EXTRAINFO_NUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RSVD_PG_H2C_EXTRAINFO_NUM@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
Lloh3:
	adrp	x10, _RSVD_PG_H2C_STATICINFO_NUM@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RSVD_PG_H2C_STATICINFO_NUM@GOTPAGEOFF]
Lloh5:
	ldrsw	x10, [x10]
Lloh6:
	adrp	x12, _RSVD_PG_H2CQ_NUM@GOTPAGE
Lloh7:
	ldr	x12, [x12, _RSVD_PG_H2CQ_NUM@GOTPAGEOFF]
Lloh8:
	ldrsw	x12, [x12]
Lloh9:
	adrp	x13, _RSVD_PG_CPU_INSTRUCTION_NUM@GOTPAGE
Lloh10:
	ldr	x13, [x13, _RSVD_PG_CPU_INSTRUCTION_NUM@GOTPAGEOFF]
Lloh11:
	ldrsw	x13, [x13]
Lloh12:
	adrp	x14, _RSVD_PG_FW_TXBUF_NUM@GOTPAGE
Lloh13:
	ldr	x14, [x14, _RSVD_PG_FW_TXBUF_NUM@GOTPAGEOFF]
Lloh14:
	ldrsw	x15, [x14]
	add	w14, w9, w8
	add	w14, w14, w10
	add	w14, w14, w12
	add	w14, w14, w13
	add	w14, w14, w15
	add	w14, w14, #8
	str	w14, [x0, #16]
	subs	w14, w11, w14
	b.ge	LBB0_2
; %bb.1:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	stp	w14, w14, [x0, #20]
	sxtw	x11, w11
	sub	x9, x11, x9
	sub	x11, x9, x15
	stp	x11, x9, [x0, #64]
	sub	x9, x11, x13
	sub	x11, x9, x12
	stp	x11, x9, [x0, #48]
	sub	x9, x11, x10
	sub	x8, x9, x8
	stp	x8, x9, [x0, #32]
	sub	w8, w8, #8
	str	w8, [x0, #28]
	cmp	w14, w8
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_rtw_err
Lloh19:
	adrp	x8, _EINVAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_RSVD_PG_H2C_EXTRAINFO_NUM,4,2  ; @RSVD_PG_H2C_EXTRAINFO_NUM
	.comm	_RSVD_PG_H2C_STATICINFO_NUM,4,2 ; @RSVD_PG_H2C_STATICINFO_NUM
	.comm	_RSVD_PG_H2CQ_NUM,4,2           ; @RSVD_PG_H2CQ_NUM
	.comm	_RSVD_PG_CPU_INSTRUCTION_NUM,4,2 ; @RSVD_PG_CPU_INSTRUCTION_NUM
	.comm	_RSVD_PG_FW_TXBUF_NUM,4,2       ; @RSVD_PG_FW_TXBUF_NUM
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wrong rsvd driver address\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_set_trx_fifo_info
.subsections_via_symbols
