	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_sub_pwr_seq_parser
_rtw_sub_pwr_seq_parser:                ## @rtw_sub_pwr_seq_parser
	.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, -48(%rbp)                 ## 8-byte Spill
	movl	(%rcx), %eax
	movq	_RTW_PWR_CMD_END@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	jne	LBB0_1
LBB0_17:
	xorl	%eax, %eax
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rcx, %rbx
	movl	%edx, %r15d
	movl	%esi, %r12d
	leaq	LJTI0_0(%rip), %r13
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	orl	20(%rbx), %r14d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_rtw_read8
	movl	16(%rbx), %edx
	xorl	%eax, %edx
	andl	12(%rbx), %edx
	xorl	%eax, %edx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_rtw_write8
	movq	_RTW_PWR_CMD_END@GOTPCREL(%rip), %r14
	leaq	LJTI0_0(%rip), %r13
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	28(%rbx), %eax
	addq	$28, %rbx
	cmpl	(%r14), %eax
	je	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r12d, 4(%rbx)
	je	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r15d, 8(%rbx)
	je	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r13,%rax,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%rbx), %eax
	xorl	%r14d, %r14d
	movq	_RTW_PWR_ADDR_SDIO@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_SDIO_LOCAL_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_rtw_pwr_cmd_polling
	testl	%eax, %eax
	je	LBB0_16
	jmp	LBB0_10
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%rbx), %eax
	movl	20(%rbx), %edi
	movq	_RTW_PWR_DELAY_US@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	callq	_udelay
	jmp	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_mdelay
	jmp	LBB0_16
LBB0_14:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_10:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
LBB0_11:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_18
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_16
	.long	L0_0_set_9
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_RTW_PWR_CMD_END,4,2            ## @RTW_PWR_CMD_END
	.comm	_RTW_PWR_ADDR_SDIO,4,2          ## @RTW_PWR_ADDR_SDIO
	.comm	_SDIO_LOCAL_OFFSET,4,2          ## @SDIO_LOCAL_OFFSET
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_RTW_PWR_DELAY_US,4,2           ## @RTW_PWR_DELAY_US
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_rtw_sub_pwr_seq_parser
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw_sub_pwr_seq_parser
_rtw_sub_pwr_seq_parser:                ; @rtw_sub_pwr_seq_parser
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x3]
Lloh0:
	adrp	x24, _RTW_PWR_CMD_END@GOTPAGE
Lloh1:
	ldr	x24, [x24, _RTW_PWR_CMD_END@GOTPAGEOFF]
	ldr	w9, [x24]
	cmp	w8, w9
	b.ne	LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh2:
	adrp	x25, lJTI0_0@PAGE
Lloh3:
	add	x25, x25, lJTI0_0@PAGEOFF
Lloh4:
	adrp	x26, _RTW_PWR_ADDR_SDIO@GOTPAGE
Lloh5:
	ldr	x26, [x26, _RTW_PWR_ADDR_SDIO@GOTPAGEOFF]
Lloh6:
	adrp	x27, _SDIO_LOCAL_OFFSET@GOTPAGE
Lloh7:
	ldr	x27, [x27, _SDIO_LOCAL_OFFSET@GOTPAGEOFF]
Lloh8:
	adrp	x28, _RTW_PWR_DELAY_US@GOTPAGE
Lloh9:
	ldr	x28, [x28, _RTW_PWR_DELAY_US@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldp	w8, w9, [x19, #20]
	ldr	w10, [x26]
	ldr	w11, [x27]
	cmp	w9, w10
	csel	w9, w11, wzr, eq
	orr	w23, w9, w8
	mov	x0, x22
	mov	x1, x23
	bl	_rtw_read8
	ldp	w8, w9, [x19, #12]
	bic	w10, w0, w8
	and	w8, w9, w8
	orr	w2, w8, w10
	mov	x0, x22
	mov	x1, x23
	bl	_rtw_write8
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19, #28]!
	ldr	w9, [x24]
	cmp	w8, w9
	b.eq	LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x19, #4]
	tst	w9, w21
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x19, #8]
	tst	w9, w20
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	adr	x9, LBB0_4
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	mov	x1, x19
	bl	_rtw_pwr_cmd_polling
	cbz	w0, LBB0_5
	b	LBB0_15
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x28]
	ldp	w9, w0, [x19, #16]
	cmp	w9, w8
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	bl	_udelay
	b	LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_mdelay
	b	LBB0_5
LBB0_14:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
Lloh12:
	adrp	x8, _EBUSY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
                                        ; -- End function
	.comm	_RTW_PWR_CMD_END,4,2            ; @RTW_PWR_CMD_END
	.comm	_RTW_PWR_ADDR_SDIO,4,2          ; @RTW_PWR_ADDR_SDIO
	.comm	_SDIO_LOCAL_OFFSET,4,2          ; @SDIO_LOCAL_OFFSET
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_RTW_PWR_DELAY_US,4,2           ; @RTW_PWR_DELAY_US
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_rtw_sub_pwr_seq_parser
.subsections_via_symbols
