	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_register_dev
_mwifiex_register_dev:                  ## @mwifiex_register_dev
	.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, %rbx
	movq	24(%rdi), %rax
	movq	%rdi, 8(%rax)
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_le16_to_cpu
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_8
## %bb.1:
	movl	$3, %ecx
	btl	%eax, %ecx
	jb	LBB0_5
## %bb.2:
	movl	$12, %ecx
	btl	%eax, %ecx
	jb	LBB0_7
## %bb.3:
	movl	$192, %ecx
	btl	%eax, %ecx
	jae	LBB0_8
## %bb.4:
	movq	_MWIFIEX_TX_DATA_BUF_SIZE_2K@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movl	12(%rbx), %edi
	movq	_USB8766_DEFAULT_FW_NAME@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_7:
	movq	_MWIFIEX_TX_DATA_BUF_SIZE_2K@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movl	12(%rbx), %edi
	movq	_USB8801_DEFAULT_FW_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcpy
	movl	$0, (%rbx)
	jmp	LBB0_9
LBB0_5:
	movq	_MWIFIEX_TX_DATA_BUF_SIZE_4K@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movl	12(%rbx), %edi
	movq	_USB8997_DEFAULT_FW_NAME@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	callq	_strcpy
	movl	$1, (%rbx)
	jmp	LBB0_9
LBB0_8:
	movq	_MWIFIEX_TX_DATA_BUF_SIZE_2K@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movl	12(%rbx), %edi
	movq	_USB8797_DEFAULT_FW_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcpy
LBB0_9:
	movq	$0, 4(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MWIFIEX_TX_DATA_BUF_SIZE_4K,8,3 ## @MWIFIEX_TX_DATA_BUF_SIZE_4K
	.comm	_USB8997_DEFAULT_FW_NAME,4,2    ## @USB8997_DEFAULT_FW_NAME
	.comm	_MWIFIEX_TX_DATA_BUF_SIZE_2K,8,3 ## @MWIFIEX_TX_DATA_BUF_SIZE_2K
	.comm	_USB8766_DEFAULT_FW_NAME,4,2    ## @USB8766_DEFAULT_FW_NAME
	.comm	_USB8801_DEFAULT_FW_NAME,4,2    ## @USB8801_DEFAULT_FW_NAME
	.comm	_USB8797_DEFAULT_FW_NAME,4,2    ## @USB8797_DEFAULT_FW_NAME
	.no_dead_strip	_mwifiex_register_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_register_dev
_mwifiex_register_dev:                  ; @mwifiex_register_dev
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #24]
	str	x0, [x8, #8]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_le16_to_cpu
	sub	w8, w0, #128
	cmp	w8, #7
	b.hi	LBB0_8
; %bb.1:
	mov	w20, #1
	lsl	w9, w20, w8
	tst	w9, #0x3
	b.ne	LBB0_6
; %bb.2:
	tst	w9, #0xc
	b.ne	LBB0_5
; %bb.3:
	mov	w20, #1
	lsl	w8, w20, w8
	tst	w8, #0xc0
	b.eq	LBB0_8
; %bb.4:
Lloh0:
	adrp	x8, _MWIFIEX_TX_DATA_BUF_SIZE_2K@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MWIFIEX_TX_DATA_BUF_SIZE_2K@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	ldr	w0, [x19, #12]
Lloh3:
	adrp	x8, _USB8766_DEFAULT_FW_NAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _USB8766_DEFAULT_FW_NAME@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh5:
	adrp	x8, _MWIFIEX_TX_DATA_BUF_SIZE_2K@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MWIFIEX_TX_DATA_BUF_SIZE_2K@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	ldr	w0, [x19, #12]
Lloh8:
	adrp	x8, _USB8801_DEFAULT_FW_NAME@GOTPAGE
Lloh9:
	ldr	x8, [x8, _USB8801_DEFAULT_FW_NAME@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_strcpy
	str	wzr, [x19]
	b	LBB0_9
LBB0_6:
Lloh11:
	adrp	x8, _MWIFIEX_TX_DATA_BUF_SIZE_4K@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MWIFIEX_TX_DATA_BUF_SIZE_4K@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	ldr	w0, [x19, #12]
Lloh14:
	adrp	x8, _USB8997_DEFAULT_FW_NAME@GOTPAGE
Lloh15:
	ldr	x8, [x8, _USB8997_DEFAULT_FW_NAME@GOTPAGEOFF]
LBB0_7:
	ldr	w1, [x8]
	bl	_strcpy
	str	w20, [x19]
	b	LBB0_9
LBB0_8:
Lloh16:
	adrp	x8, _MWIFIEX_TX_DATA_BUF_SIZE_2K@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MWIFIEX_TX_DATA_BUF_SIZE_2K@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	ldr	w0, [x19, #12]
Lloh19:
	adrp	x8, _USB8797_DEFAULT_FW_NAME@GOTPAGE
Lloh20:
	ldr	x8, [x8, _USB8797_DEFAULT_FW_NAME@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_strcpy
LBB0_9:
	stp	wzr, wzr, [x19, #4]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MWIFIEX_TX_DATA_BUF_SIZE_4K,8,3 ; @MWIFIEX_TX_DATA_BUF_SIZE_4K
	.comm	_USB8997_DEFAULT_FW_NAME,4,2    ; @USB8997_DEFAULT_FW_NAME
	.comm	_MWIFIEX_TX_DATA_BUF_SIZE_2K,8,3 ; @MWIFIEX_TX_DATA_BUF_SIZE_2K
	.comm	_USB8766_DEFAULT_FW_NAME,4,2    ; @USB8766_DEFAULT_FW_NAME
	.comm	_USB8801_DEFAULT_FW_NAME,4,2    ; @USB8801_DEFAULT_FW_NAME
	.comm	_USB8797_DEFAULT_FW_NAME,4,2    ; @USB8797_DEFAULT_FW_NAME
	.no_dead_strip	_mwifiex_register_dev
.subsections_via_symbols
