	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_read_data_sync
_mwifiex_read_data_sync:                ## @mwifiex_read_data_sync
	.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
	movl	%ecx, %r14d
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	_MWIFIEX_SDIO_BYTE_MODE_MASK@GOTPCREL(%rip), %rdx
	movq	_BLOCK_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rcx
	testl	%r14d, (%rdx)
	je	LBB0_2
## %bb.1:
	movq	_BYTE_MODE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
LBB0_2:
	movq	(%rdi), %r12
	movq	_MWIFIEX_SDIO_BLOCK_SIZE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movl	$1, %ebx
	cmpq	%rax, %rcx
	cmovel	%esi, %ebx
	jne	LBB0_4
## %bb.3:
	movl	%r13d, %eax
	cltd
	idivl	%esi
	movl	%eax, %r13d
LBB0_4:
	movq	_MWIFIEX_SDIO_IO_PORT_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	movl	(%r12), %edi
	testq	%r8, %r8
	je	LBB0_6
## %bb.5:
	callq	_sdio_claim_host
	movl	(%r12), %edi
	imull	%ebx, %r13d
	movq	%r15, %rsi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	callq	_sdio_readsb
	movl	%eax, %ebx
	movl	(%r12), %edi
	callq	_sdio_release_host
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	imull	%ebx, %r13d
	movq	%r15, %rsi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sdio_readsb                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MWIFIEX_SDIO_BYTE_MODE_MASK,4,2 ## @MWIFIEX_SDIO_BYTE_MODE_MASK
	.comm	_BYTE_MODE,8,3                  ## @BYTE_MODE
	.comm	_BLOCK_MODE,8,3                 ## @BLOCK_MODE
	.comm	_MWIFIEX_SDIO_BLOCK_SIZE,4,2    ## @MWIFIEX_SDIO_BLOCK_SIZE
	.comm	_MWIFIEX_SDIO_IO_PORT_MASK,4,2  ## @MWIFIEX_SDIO_IO_PORT_MASK
	.no_dead_strip	_mwifiex_read_data_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_read_data_sync
_mwifiex_read_data_sync:                ; @mwifiex_read_data_sync
	.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	x19, x1
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _MWIFIEX_SDIO_BYTE_MODE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MWIFIEX_SDIO_BYTE_MODE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _BYTE_MODE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BYTE_MODE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _BLOCK_MODE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BLOCK_MODE@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	tst	w8, w3
	csel	x8, x10, x9, eq
Lloh9:
	adrp	x9, _MWIFIEX_SDIO_BLOCK_SIZE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MWIFIEX_SDIO_BLOCK_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	x8, x10
	csinc	w22, w9, wzr, eq
	sdiv	w8, w2, w9
	csel	w23, w2, w8, ne
Lloh12:
	adrp	x8, _MWIFIEX_SDIO_IO_PORT_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MWIFIEX_SDIO_IO_PORT_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	and	w20, w8, w3
	ldr	w0, [x21]
	cbz	x4, LBB0_2
; %bb.1:
	bl	_sdio_claim_host
	ldr	w0, [x21]
	mul	w3, w23, w22
	mov	x1, x19
	mov	x2, x20
	bl	_sdio_readsb
	mov	x19, x0
	ldr	w0, [x21]
	bl	_sdio_release_host
	mov	x0, x19
	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
LBB0_2:
	mul	w3, w23, w22
	mov	x1, x19
	mov	x2, x20
	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
	b	_sdio_readsb
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MWIFIEX_SDIO_BYTE_MODE_MASK,4,2 ; @MWIFIEX_SDIO_BYTE_MODE_MASK
	.comm	_BYTE_MODE,8,3                  ; @BYTE_MODE
	.comm	_BLOCK_MODE,8,3                 ; @BLOCK_MODE
	.comm	_MWIFIEX_SDIO_BLOCK_SIZE,4,2    ; @MWIFIEX_SDIO_BLOCK_SIZE
	.comm	_MWIFIEX_SDIO_IO_PORT_MASK,4,2  ; @MWIFIEX_SDIO_IO_PORT_MASK
	.no_dead_strip	_mwifiex_read_data_sync
.subsections_via_symbols
