	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function priority_queue_cfg
_priority_queue_cfg:                    ## @priority_queue_cfg
	.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	%rdi, %r14
	movq	8(%rdi), %r15
	callq	_set_trx_fifo_info
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.1:
	movq	%r14, %rdi
	callq	_rtw_hci_type
	cmpl	$129, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.4:
	movl	(%r14), %eax
	addl	$-2, %eax
	cmpl	$3, %eax
	jae	LBB0_5
## %bb.7:
	movl	%eax, %eax
	addq	$2, %rax
	jmp	LBB0_8
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movl	$1, %eax
LBB0_8:
	movq	8(%r15), %r13
	leaq	(%rax,%rax,4), %rbx
	movq	24(%r13,%rbx,8), %rdx
	movq	16(%r13,%rbx,8), %rax
	addq	%rdx, %rax
	addq	8(%r13,%rbx,8), %rax
	addq	(%r13,%rbx,8), %rax
	addq	32(%r13,%rbx,8), %rax
	movq	24(%r14), %r12
	subq	%rax, %r12
	movq	_REG_FIFOPAGE_INFO_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_rtw_write16
	movq	_REG_FIFOPAGE_INFO_2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	16(%r13,%rbx,8), %rdx
	movq	%r14, %rdi
	callq	_rtw_write16
	movq	_REG_FIFOPAGE_INFO_3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	8(%r13,%rbx,8), %rdx
	movq	%r14, %rdi
	callq	_rtw_write16
	movq	_REG_FIFOPAGE_INFO_4@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	(%r13,%rbx,8), %rdx
	movq	%r14, %rdi
	callq	_rtw_write16
	movq	_REG_FIFOPAGE_INFO_5@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_rtw_write16
	movq	_REG_RQPN_CTRL_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BIT_LD_RQPN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_rtw_write32_set
	movq	_REG_FIFOPAGE_CTRL_2@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	16(%r14), %rdx
	movq	%r14, %rdi
	callq	_rtw_write16
	movq	_REG_FWHW_TXQ_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$2, %rsi
	movq	_BIT_EN_WR_FREE_TAIL@GOTPCREL(%rip), %rax
	movswl	2(%rax), %edx
	movq	%r14, %rdi
	callq	_rtw_write8_set
	movq	_REG_BCNQ_BDNY_V1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	16(%r14), %rdx
	movq	%r14, %rdi
	callq	_rtw_write16
	movq	(%rbx), %rsi
	addq	$2, %rsi
	movq	16(%r14), %rdx
	movq	%r14, %rdi
	callq	_rtw_write16
	movq	_REG_BCNQ1_BDNY_V1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	16(%r14), %rdx
	movq	%r14, %rdi
	callq	_rtw_write16
	movq	_REG_RXFF_BNDY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_C2H_PKT_BUF@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	notq	%rdx
	addq	(%r15), %rdx
	movq	%r14, %rdi
	callq	_rtw_write32
	movq	_REG_AUTO_LLT_V1@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movq	_BIT_AUTO_INIT_LLT_V1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_rtw_write8_set
	movq	(%r15), %rsi
	movl	(%rbx), %edx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_check_hw_ready
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movq	_REG_CR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$3, %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_rtw_write8
	jmp	LBB0_11
LBB0_9:
	movq	_EBUSY@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_REG_FIFOPAGE_INFO_1,8,3        ## @REG_FIFOPAGE_INFO_1
	.comm	_REG_FIFOPAGE_INFO_2,8,3        ## @REG_FIFOPAGE_INFO_2
	.comm	_REG_FIFOPAGE_INFO_3,8,3        ## @REG_FIFOPAGE_INFO_3
	.comm	_REG_FIFOPAGE_INFO_4,8,3        ## @REG_FIFOPAGE_INFO_4
	.comm	_REG_FIFOPAGE_INFO_5,8,3        ## @REG_FIFOPAGE_INFO_5
	.comm	_REG_RQPN_CTRL_2,4,2            ## @REG_RQPN_CTRL_2
	.comm	_BIT_LD_RQPN,4,2                ## @BIT_LD_RQPN
	.comm	_REG_FIFOPAGE_CTRL_2,8,3        ## @REG_FIFOPAGE_CTRL_2
	.comm	_REG_FWHW_TXQ_CTRL,8,3          ## @REG_FWHW_TXQ_CTRL
	.comm	_BIT_EN_WR_FREE_TAIL,4,2        ## @BIT_EN_WR_FREE_TAIL
	.comm	_REG_BCNQ_BDNY_V1,8,3           ## @REG_BCNQ_BDNY_V1
	.comm	_REG_BCNQ1_BDNY_V1,8,3          ## @REG_BCNQ1_BDNY_V1
	.comm	_REG_RXFF_BNDY,4,2              ## @REG_RXFF_BNDY
	.comm	_C2H_PKT_BUF,8,3                ## @C2H_PKT_BUF
	.comm	_REG_AUTO_LLT_V1,8,3            ## @REG_AUTO_LLT_V1
	.comm	_BIT_AUTO_INIT_LLT_V1,4,2       ## @BIT_AUTO_INIT_LLT_V1
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_REG_CR,8,3                     ## @REG_CR
	.no_dead_strip	_priority_queue_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function priority_queue_cfg
_priority_queue_cfg:                    ; @priority_queue_cfg
	.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, x0
	ldr	x21, [x0, #8]
	bl	_set_trx_fifo_info
	cbnz	w0, LBB0_11
; %bb.1:
	mov	x0, x19
	bl	_rtw_hci_type
	cmp	w0, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w0, #128
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x19]
	sub	w8, w8, #2
	cmp	w8, #3
	b.hs	LBB0_5
; %bb.4:
	add	x8, x8, #2
	b	LBB0_7
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
	mov	w8, #1
LBB0_7:
	ldr	x9, [x21, #8]
	ldr	x10, [x19, #24]
	mov	w11, #40
	madd	x22, x8, x11, x9
	ldp	x8, x2, [x22, #16]
	ldp	x11, x9, [x22]
	ldr	x12, [x22, #32]
	add	x8, x2, x8
	add	x8, x8, x9
	add	x8, x8, x11
	add	x8, x8, x12
	sub	x20, x10, x8
Lloh2:
	adrp	x8, _REG_FIFOPAGE_INFO_1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REG_FIFOPAGE_INFO_1@GOTPAGEOFF]
Lloh4:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_rtw_write16
Lloh5:
	adrp	x8, _REG_FIFOPAGE_INFO_2@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REG_FIFOPAGE_INFO_2@GOTPAGEOFF]
Lloh7:
	ldr	x1, [x8]
	ldr	x2, [x22, #16]
	mov	x0, x19
	bl	_rtw_write16
Lloh8:
	adrp	x8, _REG_FIFOPAGE_INFO_3@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REG_FIFOPAGE_INFO_3@GOTPAGEOFF]
Lloh10:
	ldr	x1, [x8]
	ldr	x2, [x22, #8]
	mov	x0, x19
	bl	_rtw_write16
Lloh11:
	adrp	x8, _REG_FIFOPAGE_INFO_4@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REG_FIFOPAGE_INFO_4@GOTPAGEOFF]
Lloh13:
	ldr	x1, [x8]
	ldr	x2, [x22]
	mov	x0, x19
	bl	_rtw_write16
Lloh14:
	adrp	x8, _REG_FIFOPAGE_INFO_5@GOTPAGE
Lloh15:
	ldr	x8, [x8, _REG_FIFOPAGE_INFO_5@GOTPAGEOFF]
Lloh16:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_rtw_write16
Lloh17:
	adrp	x8, _REG_RQPN_CTRL_2@GOTPAGE
Lloh18:
	ldr	x8, [x8, _REG_RQPN_CTRL_2@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _BIT_LD_RQPN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BIT_LD_RQPN@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rtw_write32_set
Lloh23:
	adrp	x20, _REG_FIFOPAGE_CTRL_2@GOTPAGE
Lloh24:
	ldr	x20, [x20, _REG_FIFOPAGE_CTRL_2@GOTPAGEOFF]
	ldr	x1, [x20]
	ldr	x2, [x19, #16]
	mov	x0, x19
	bl	_rtw_write16
Lloh25:
	adrp	x8, _REG_FWHW_TXQ_CTRL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _REG_FWHW_TXQ_CTRL@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	add	x1, x8, #2
Lloh28:
	adrp	x8, _BIT_EN_WR_FREE_TAIL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _BIT_EN_WR_FREE_TAIL@GOTPAGEOFF]
Lloh30:
	ldrsh	w2, [x8, #2]
	mov	x0, x19
	bl	_rtw_write8_set
Lloh31:
	adrp	x8, _REG_BCNQ_BDNY_V1@GOTPAGE
Lloh32:
	ldr	x8, [x8, _REG_BCNQ_BDNY_V1@GOTPAGEOFF]
Lloh33:
	ldr	x1, [x8]
	ldr	x2, [x19, #16]
	mov	x0, x19
	bl	_rtw_write16
	ldr	x8, [x20]
	add	x1, x8, #2
	ldr	x2, [x19, #16]
	mov	x0, x19
	bl	_rtw_write16
Lloh34:
	adrp	x8, _REG_BCNQ1_BDNY_V1@GOTPAGE
Lloh35:
	ldr	x8, [x8, _REG_BCNQ1_BDNY_V1@GOTPAGEOFF]
Lloh36:
	ldr	x1, [x8]
	ldr	x2, [x19, #16]
	mov	x0, x19
	bl	_rtw_write16
Lloh37:
	adrp	x8, _REG_RXFF_BNDY@GOTPAGE
Lloh38:
	ldr	x8, [x8, _REG_RXFF_BNDY@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	ldr	x8, [x21]
Lloh40:
	adrp	x9, _C2H_PKT_BUF@GOTPAGE
Lloh41:
	ldr	x9, [x9, _C2H_PKT_BUF@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	mvn	x9, x9
	add	x2, x8, x9
	mov	x0, x19
	bl	_rtw_write32
Lloh43:
	adrp	x20, _REG_AUTO_LLT_V1@GOTPAGE
Lloh44:
	ldr	x20, [x20, _REG_AUTO_LLT_V1@GOTPAGEOFF]
	ldr	x1, [x20]
Lloh45:
	adrp	x21, _BIT_AUTO_INIT_LLT_V1@GOTPAGE
Lloh46:
	ldr	x21, [x21, _BIT_AUTO_INIT_LLT_V1@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_rtw_write8_set
	ldr	x1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w3, #0
	bl	_check_hw_ready
	cbz	w0, LBB0_9
; %bb.8:
Lloh47:
	adrp	x8, _REG_CR@GOTPAGE
Lloh48:
	ldr	x8, [x8, _REG_CR@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	add	x1, x8, #3
	mov	x0, x19
	mov	w2, #0
	bl	_rtw_write8
	mov	w0, #0
	b	LBB0_11
LBB0_9:
Lloh50:
	adrp	x8, _EBUSY@GOTPAGE
Lloh51:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_REG_FIFOPAGE_INFO_1,8,3        ; @REG_FIFOPAGE_INFO_1
	.comm	_REG_FIFOPAGE_INFO_2,8,3        ; @REG_FIFOPAGE_INFO_2
	.comm	_REG_FIFOPAGE_INFO_3,8,3        ; @REG_FIFOPAGE_INFO_3
	.comm	_REG_FIFOPAGE_INFO_4,8,3        ; @REG_FIFOPAGE_INFO_4
	.comm	_REG_FIFOPAGE_INFO_5,8,3        ; @REG_FIFOPAGE_INFO_5
	.comm	_REG_RQPN_CTRL_2,4,2            ; @REG_RQPN_CTRL_2
	.comm	_BIT_LD_RQPN,4,2                ; @BIT_LD_RQPN
	.comm	_REG_FIFOPAGE_CTRL_2,8,3        ; @REG_FIFOPAGE_CTRL_2
	.comm	_REG_FWHW_TXQ_CTRL,8,3          ; @REG_FWHW_TXQ_CTRL
	.comm	_BIT_EN_WR_FREE_TAIL,4,2        ; @BIT_EN_WR_FREE_TAIL
	.comm	_REG_BCNQ_BDNY_V1,8,3           ; @REG_BCNQ_BDNY_V1
	.comm	_REG_BCNQ1_BDNY_V1,8,3          ; @REG_BCNQ1_BDNY_V1
	.comm	_REG_RXFF_BNDY,4,2              ; @REG_RXFF_BNDY
	.comm	_C2H_PKT_BUF,8,3                ; @C2H_PKT_BUF
	.comm	_REG_AUTO_LLT_V1,8,3            ; @REG_AUTO_LLT_V1
	.comm	_BIT_AUTO_INIT_LLT_V1,4,2       ; @BIT_AUTO_INIT_LLT_V1
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_REG_CR,8,3                     ; @REG_CR
	.no_dead_strip	_priority_queue_cfg
.subsections_via_symbols
