	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_cmd_pcie_host_spec
_mwifiex_cmd_pcie_host_spec:            ## @mwifiex_cmd_pcie_host_spec
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	24(%rsi), %r12
	movq	(%rdi), %rax
	movq	(%rax), %r13
	movq	_HostCmd_CMD_PCIE_DESC_DETAILS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_cpu_to_le16
	movq	%rax, 16(%rbx)
	movq	_S_DS_GEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$88, %rdi
	callq	_cpu_to_le16
	movq	%rax, 8(%rbx)
	movq	$0, (%rbx)
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$88, %edx
	callq	_memset
	movq	_HostCmd_ACT_GEN_SET@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_3
## %bb.1:
	movl	32(%r13), %edi
	callq	_cpu_to_le32
	movq	%rax, 104(%rbx)
	callq	_cpu_to_le32
	movq	%rax, 96(%rbx)
	movq	_MWIFIEX_MAX_TXRX_BD@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, 88(%rbx)
	movl	24(%r13), %edi
	callq	_cpu_to_le32
	movq	%rax, 80(%rbx)
	callq	_cpu_to_le32
	movq	%rax, 72(%rbx)
	movl	(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, 64(%rbx)
	movl	16(%r13), %edi
	callq	_cpu_to_le32
	movq	%rax, 56(%rbx)
	callq	_cpu_to_le32
	movq	%rax, 48(%rbx)
	movq	_MWIFIEX_MAX_EVT_BD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 40(%rbx)
	cmpq	$0, 8(%r13)
	je	LBB0_3
## %bb.2:
	movl	(%r13), %edi
	callq	_cpu_to_le32
	movq	%rax, 24(%rbx)
	callq	_cpu_to_le32
	movq	%rax, 32(%rbx)
	movq	(%r14), %rdi
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	24(%rbx), %rcx
	leaq	L_.str(%rip), %rdx
	callq	_mwifiex_dbg
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HostCmd_CMD_PCIE_DESC_DETAILS,8,3 ## @HostCmd_CMD_PCIE_DESC_DETAILS
	.comm	_S_DS_GEN,8,3                   ## @S_DS_GEN
	.comm	_HostCmd_ACT_GEN_SET,8,3        ## @HostCmd_ACT_GEN_SET
	.comm	_MWIFIEX_MAX_TXRX_BD,4,2        ## @MWIFIEX_MAX_TXRX_BD
	.comm	_MWIFIEX_MAX_EVT_BD,4,2         ## @MWIFIEX_MAX_EVT_BD
	.comm	_INFO,4,2                       ## @INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sleep_cook_lo phy addr: 0x%x\n"

	.no_dead_strip	_mwifiex_cmd_pcie_host_spec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_cmd_pcie_host_spec
_mwifiex_cmd_pcie_host_spec:            ; @mwifiex_cmd_pcie_host_spec
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	add	x22, x1, #24
	ldr	x8, [x0]
	ldr	x23, [x8]
Lloh0:
	adrp	x8, _HostCmd_CMD_PCIE_DESC_DETAILS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HostCmd_CMD_PCIE_DESC_DETAILS@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_cpu_to_le16
	str	x0, [x19, #16]
Lloh3:
	adrp	x8, _S_DS_GEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S_DS_GEN@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x0, x8, #88
	bl	_cpu_to_le16
	stp	xzr, x0, [x19]
	mov	x0, x22
	mov	w1, #0
	mov	w2, #88
	bl	_memset
Lloh6:
	adrp	x8, _HostCmd_ACT_GEN_SET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HostCmd_ACT_GEN_SET@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x23, #32]
	bl	_cpu_to_le32
	str	x0, [x19, #104]
	bl	_cpu_to_le32
	str	x0, [x19, #96]
Lloh9:
	adrp	x21, _MWIFIEX_MAX_TXRX_BD@GOTPAGE
Lloh10:
	ldr	x21, [x21, _MWIFIEX_MAX_TXRX_BD@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_cpu_to_le32
	str	x0, [x19, #88]
	ldr	w0, [x23, #24]
	bl	_cpu_to_le32
	str	x0, [x19, #80]
	bl	_cpu_to_le32
	str	x0, [x19, #72]
	ldr	w0, [x21]
	bl	_cpu_to_le32
	str	x0, [x19, #64]
	ldr	w0, [x23, #16]
	bl	_cpu_to_le32
	str	x0, [x19, #56]
	bl	_cpu_to_le32
	str	x0, [x19, #48]
Lloh11:
	adrp	x8, _MWIFIEX_MAX_EVT_BD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MWIFIEX_MAX_EVT_BD@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	x0, [x19, #40]
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w0, [x23]
	bl	_cpu_to_le32
	str	x0, [x19, #24]
	bl	_cpu_to_le32
	str	x0, [x19, #32]
	ldr	x0, [x20]
Lloh14:
	adrp	x8, _INFO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	x3, [x19, #24]
Lloh17:
	adrp	x2, l_.str@PAGE
Lloh18:
	add	x2, x2, l_.str@PAGEOFF
	bl	_mwifiex_dbg
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_HostCmd_CMD_PCIE_DESC_DETAILS,8,3 ; @HostCmd_CMD_PCIE_DESC_DETAILS
	.comm	_S_DS_GEN,8,3                   ; @S_DS_GEN
	.comm	_HostCmd_ACT_GEN_SET,8,3        ; @HostCmd_ACT_GEN_SET
	.comm	_MWIFIEX_MAX_TXRX_BD,4,2        ; @MWIFIEX_MAX_TXRX_BD
	.comm	_MWIFIEX_MAX_EVT_BD,4,2         ; @MWIFIEX_MAX_EVT_BD
	.comm	_INFO,4,2                       ; @INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sleep_cook_lo phy addr: 0x%x\n"

	.no_dead_strip	_mwifiex_cmd_pcie_host_spec
.subsections_via_symbols
