	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_cmd_reg_access
_mwifiex_cmd_reg_access:                ## @mwifiex_cmd_reg_access
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	136(%rdi), %edi
	callq	_le16_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_1
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movq	_S_DS_GEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	$24, %edi
	callq	_cpu_to_le16
	movq	%rax, (%rbx)
	movl	%r15d, %edi
	callq	_cpu_to_le16
	movq	%rax, 56(%rbx)
	movl	4(%r14), %edi
	callq	_cpu_to_le16
	movq	%rax, 48(%rbx)
	movslq	(%r14), %rax
	movq	%rax, 40(%rbx)
	jmp	LBB0_8
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_9
LBB0_5:
	movq	_S_DS_GEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	$24, %edi
	callq	_cpu_to_le16
	movq	%rax, (%rbx)
	movl	%r15d, %edi
	callq	_cpu_to_le16
	movq	%rax, 80(%rbx)
	movl	4(%r14), %edi
	callq	_cpu_to_le16
	movq	%rax, 72(%rbx)
	movslq	(%r14), %rax
	movq	%rax, 64(%rbx)
	jmp	LBB0_8
LBB0_3:
	movq	_S_DS_GEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	$24, %edi
	callq	_cpu_to_le16
	movq	%rax, (%rbx)
	movl	%r15d, %edi
	callq	_cpu_to_le16
	movq	%rax, 128(%rbx)
	movl	4(%r14), %edi
	callq	_cpu_to_le16
	movq	%rax, 120(%rbx)
	movl	(%r14), %edi
	callq	_cpu_to_le32
	movl	%eax, 112(%rbx)
	jmp	LBB0_8
LBB0_4:
	movq	_S_DS_GEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	$24, %edi
	callq	_cpu_to_le16
	movq	%rax, (%rbx)
	movl	%r15d, %edi
	callq	_cpu_to_le16
	movq	%rax, 104(%rbx)
	movl	4(%r14), %edi
	callq	_cpu_to_le16
	movq	%rax, 96(%rbx)
	movslq	(%r14), %rax
	movq	%rax, 88(%rbx)
	jmp	LBB0_8
LBB0_7:
	movq	_S_DS_GEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	$32, %edi
	callq	_cpu_to_le16
	movq	%rax, (%rbx)
	movl	%r15d, %edi
	callq	_cpu_to_le16
	movq	%rax, 32(%rbx)
	movl	4(%r14), %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%rbx)
	movl	(%r14), %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%rbx)
	movl	$0, 8(%rbx)
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_S_DS_GEN,4,2                   ## @S_DS_GEN
	.no_dead_strip	_mwifiex_cmd_reg_access
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_cmd_reg_access
_mwifiex_cmd_reg_access:                ; @mwifiex_cmd_reg_access
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #136]
	bl	_le16_to_cpu
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _S_DS_GEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _S_DS_GEN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	add	w0, w8, #24
	bl	_cpu_to_le16
	str	x0, [x19]
	mov	x0, x21
	bl	_cpu_to_le16
	str	x0, [x19, #56]
	ldr	w0, [x20, #4]
	bl	_cpu_to_le16
	mov	x8, x0
	mov	w0, #0
	ldrsw	x9, [x20]
	stp	x9, x8, [x19, #40]
	b	LBB0_8
LBB0_3:
	mov	w0, #-1
	b	LBB0_8
LBB0_4:
Lloh5:
	adrp	x8, _S_DS_GEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _S_DS_GEN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	add	w0, w8, #24
	bl	_cpu_to_le16
	str	x0, [x19]
	mov	x0, x21
	bl	_cpu_to_le16
	str	x0, [x19, #80]
	ldr	w0, [x20, #4]
	bl	_cpu_to_le16
	mov	x8, x0
	mov	w0, #0
	ldrsw	x9, [x20]
	stp	x9, x8, [x19, #64]
	b	LBB0_8
LBB0_5:
Lloh8:
	adrp	x8, _S_DS_GEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _S_DS_GEN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	add	w0, w8, #24
	bl	_cpu_to_le16
	str	x0, [x19]
	mov	x0, x21
	bl	_cpu_to_le16
	str	x0, [x19, #128]
	ldr	w0, [x20, #4]
	bl	_cpu_to_le16
	str	x0, [x19, #120]
	ldr	w0, [x20]
	bl	_cpu_to_le32
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #112]
	b	LBB0_8
LBB0_6:
Lloh11:
	adrp	x8, _S_DS_GEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _S_DS_GEN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	add	w0, w8, #24
	bl	_cpu_to_le16
	str	x0, [x19]
	mov	x0, x21
	bl	_cpu_to_le16
	str	x0, [x19, #104]
	ldr	w0, [x20, #4]
	bl	_cpu_to_le16
	mov	x8, x0
	mov	w0, #0
	ldrsw	x9, [x20]
	stp	x9, x8, [x19, #88]
	b	LBB0_8
LBB0_7:
Lloh14:
	adrp	x8, _S_DS_GEN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _S_DS_GEN@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	add	w0, w8, #32
	bl	_cpu_to_le16
	str	x0, [x19]
	mov	x0, x21
	bl	_cpu_to_le16
	str	x0, [x19, #32]
	ldr	w0, [x20, #4]
	bl	_cpu_to_le16
	str	x0, [x19, #24]
	ldr	w0, [x20]
	bl	_cpu_to_le16
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19, #16]
	str	wzr, [x19, #8]
LBB0_8:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_S_DS_GEN,4,2                   ; @S_DS_GEN
	.no_dead_strip	_mwifiex_cmd_reg_access
.subsections_via_symbols
