	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cb710_receive_response
_cb710_receive_response:                ## @cb710_receive_response
	.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	%rsi, %rbx
	movq	%rdi, %r15
	movq	_MMC_RSP_136@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_2
## %bb.1:
	movq	_CB710_MMC_RESPONSE3_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_cb710_read_port_32
	movl	%eax, %r12d
	movq	_CB710_MMC_RESPONSE2_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_cb710_read_port_32
	movl	%eax, %r13d
	movq	_CB710_MMC_RESPONSE1_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_cb710_read_port_32
	movl	%eax, %r14d
	movq	_CB710_MMC_RESPONSE0_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_cb710_read_port_32
	movl	%r12d, %esi
	sarl	$24, %esi
	shll	$8, %r12d
	movl	%r13d, %ecx
	sarl	$24, %ecx
	orl	%r12d, %ecx
	movq	8(%rbx), %rdx
	movl	%ecx, (%rdx)
	shll	$8, %r13d
	movl	%r14d, %ecx
	sarl	$24, %ecx
	orl	%r13d, %ecx
	movl	%ecx, 4(%rdx)
	shll	$8, %r14d
	movl	%eax, %ecx
	sarl	$24, %ecx
	orl	%r14d, %ecx
	movl	%ecx, 8(%rdx)
	shll	$8, %eax
	movl	%eax, 12(%rdx)
	jmp	LBB0_3
LBB0_2:
	movq	_CB710_MMC_RESPONSE1_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_cb710_read_port_32
	movl	%eax, %r14d
	andl	$63, %r14d
	movq	_CB710_MMC_RESPONSE0_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_cb710_read_port_32
	movl	%r14d, %esi
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
LBB0_3:
	movq	_MMC_RSP_OPCODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_4
## %bb.5:
	movl	16(%rbx), %eax
	cmpl	%eax, %esi
	je	LBB0_8
LBB0_7:
	movq	_EILSEQ@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, 20(%rbx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	$63, %eax
	cmpl	%eax, %esi
	jne	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_RSP_136,4,2                ## @MMC_RSP_136
	.comm	_CB710_MMC_RESPONSE3_PORT,4,2   ## @CB710_MMC_RESPONSE3_PORT
	.comm	_CB710_MMC_RESPONSE2_PORT,4,2   ## @CB710_MMC_RESPONSE2_PORT
	.comm	_CB710_MMC_RESPONSE1_PORT,4,2   ## @CB710_MMC_RESPONSE1_PORT
	.comm	_CB710_MMC_RESPONSE0_PORT,4,2   ## @CB710_MMC_RESPONSE0_PORT
	.comm	_MMC_RSP_OPCODE,4,2             ## @MMC_RSP_OPCODE
	.comm	_EILSEQ,4,2                     ## @EILSEQ
	.no_dead_strip	_cb710_receive_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cb710_receive_response
_cb710_receive_response:                ; @cb710_receive_response
	.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
	mov	x20, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _MMC_RSP_136@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MMC_RSP_136@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _CB710_MMC_RESPONSE3_PORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CB710_MMC_RESPONSE3_PORT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_cb710_read_port_32
	mov	x21, x0
Lloh6:
	adrp	x8, _CB710_MMC_RESPONSE2_PORT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CB710_MMC_RESPONSE2_PORT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_cb710_read_port_32
	mov	x22, x0
Lloh9:
	adrp	x8, _CB710_MMC_RESPONSE1_PORT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CB710_MMC_RESPONSE1_PORT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_cb710_read_port_32
	mov	x23, x0
Lloh12:
	adrp	x8, _CB710_MMC_RESPONSE0_PORT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CB710_MMC_RESPONSE0_PORT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_cb710_read_port_32
	asr	w8, w22, #24
	orr	w8, w8, w21, lsl #8
	ldr	x9, [x19, #8]
	asr	w10, w23, #24
	orr	w10, w10, w22, lsl #8
	stp	w8, w10, [x9]
	asr	w8, w0, #24
	orr	w8, w8, w23, lsl #8
	lsl	w10, w0, #8
	stp	w8, w10, [x9, #8]
	asr	w21, w21, #24
	b	LBB0_3
LBB0_2:
Lloh15:
	adrp	x8, _CB710_MMC_RESPONSE1_PORT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CB710_MMC_RESPONSE1_PORT@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_cb710_read_port_32
	and	w21, w0, #0x3f
Lloh18:
	adrp	x8, _CB710_MMC_RESPONSE0_PORT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CB710_MMC_RESPONSE0_PORT@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_cb710_read_port_32
	ldr	x8, [x19, #8]
	str	w0, [x8]
LBB0_3:
	ldr	w8, [x19]
Lloh21:
	adrp	x9, _MMC_RSP_OPCODE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MMC_RSP_OPCODE@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.4:
	ldr	w8, [x19, #16]
	cmp	w21, w8
	b.eq	LBB0_6
LBB0_5:
Lloh24:
	adrp	x8, _EILSEQ@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EILSEQ@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [x19, #20]
LBB0_6:
	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_7:
	mov	w8, #63
	cmp	w21, w8
	b.ne	LBB0_5
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_RSP_136,4,2                ; @MMC_RSP_136
	.comm	_CB710_MMC_RESPONSE3_PORT,4,2   ; @CB710_MMC_RESPONSE3_PORT
	.comm	_CB710_MMC_RESPONSE2_PORT,4,2   ; @CB710_MMC_RESPONSE2_PORT
	.comm	_CB710_MMC_RESPONSE1_PORT,4,2   ; @CB710_MMC_RESPONSE1_PORT
	.comm	_CB710_MMC_RESPONSE0_PORT,4,2   ; @CB710_MMC_RESPONSE0_PORT
	.comm	_MMC_RSP_OPCODE,4,2             ; @MMC_RSP_OPCODE
	.comm	_EILSEQ,4,2                     ; @EILSEQ
	.no_dead_strip	_cb710_receive_response
.subsections_via_symbols
