	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_fixup_device
_mmc_fixup_device:                      ## @mmc_fixup_device
	.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, %r14
	callq	_cid_rev_card
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpq	$0, 72(%rbx)
	je	LBB0_18
## %bb.1:
	movq	_CID_MANFID_ANY@GOTPCREL(%rip), %r13
	movq	_CID_OEMID_ANY@GOTPCREL(%rip), %r12
	movq	_CID_NAME_ANY@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	48(%r14), %esi
	movl	$4, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_8
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 152(%rbx)
	leaq	80(%rbx), %rbx
	je	LBB0_18
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	(%r13), %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	32(%r14), %rax
	jne	LBB0_17
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	cmpq	(%r12), %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	40(%r14), %rax
	jne	LBB0_17
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rdi
	cmpq	(%r15), %rdi
	jne	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rcx
	movq	_SDIO_ANY_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	16(%r14), %rcx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rax, %rcx
	jne	LBB0_17
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %rcx
	cmpq	24(%r14), %rcx
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rax, %rcx
	jne	LBB0_17
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%rbx), %rax
	movq	_EXT_CSD_REV_ANY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	8(%r14), %rax
	jne	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	48(%rbx), %rax
	jl	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	56(%rbx), %rax
	jg	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	72(%rbx), %rdx
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movl	64(%rbx), %esi
	movq	%r14, %rdi
	callq	*72(%rbx)
	jmp	LBB0_17
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CID_MANFID_ANY,8,3             ## @CID_MANFID_ANY
	.comm	_CID_OEMID_ANY,8,3              ## @CID_OEMID_ANY
	.comm	_CID_NAME_ANY,8,3               ## @CID_NAME_ANY
	.comm	_SDIO_ANY_ID,8,3                ## @SDIO_ANY_ID
	.comm	_EXT_CSD_REV_ANY,8,3            ## @EXT_CSD_REV_ANY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"calling %ps\n"

	.no_dead_strip	_mmc_fixup_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_fixup_device
_mmc_fixup_device:                      ; @mmc_fixup_device
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_cid_rev_card
	ldr	x8, [x19, #72]
	cbz	x8, LBB0_18
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x23, _CID_MANFID_ANY@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CID_MANFID_ANY@GOTPAGEOFF]
Lloh2:
	adrp	x24, _CID_OEMID_ANY@GOTPAGE
Lloh3:
	ldr	x24, [x24, _CID_OEMID_ANY@GOTPAGEOFF]
Lloh4:
	adrp	x25, _CID_NAME_ANY@GOTPAGE
Lloh5:
	ldr	x25, [x25, _CID_NAME_ANY@GOTPAGEOFF]
Lloh6:
	adrp	x26, _SDIO_ANY_ID@GOTPAGE
Lloh7:
	ldr	x26, [x26, _SDIO_ANY_ID@GOTPAGEOFF]
Lloh8:
	adrp	x22, l_.str@PAGE
Lloh9:
	add	x22, x22, l_.str@PAGEOFF
Lloh10:
	adrp	x27, _EXT_CSD_REV_ANY@GOTPAGE
Lloh11:
	ldr	x27, [x27, _EXT_CSD_REV_ANY@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x20, #48]
	mov	w2, #4
	bl	_strncmp
	cbz	w0, LBB0_9
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #152]
	add	x19, x19, #80
	cbz	x8, LBB0_18
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x20, #32]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x20, #40]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, #16]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x19, #24]
	ldr	x10, [x20, #16]
	ldr	x8, [x26]
	cmp	x9, x10
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x9, x8
	b.ne	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x19, #32]
	ldr	x10, [x20, #24]
	cmp	x9, x10
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x9, x8
	b.ne	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #40]
	ldr	x9, [x27]
	cmp	x8, x9
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #48]
	cmp	x21, x8
	b.lt	LBB0_3
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #56]
	cmp	x21, x8
	b.gt	LBB0_3
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x2, [x19, #72]
	mov	x0, x20
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x19, #72]
	ldr	w1, [x19, #64]
	mov	x0, x20
	blr	x8
	b	LBB0_3
LBB0_18:
	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
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CID_MANFID_ANY,8,3             ; @CID_MANFID_ANY
	.comm	_CID_OEMID_ANY,8,3              ; @CID_OEMID_ANY
	.comm	_CID_NAME_ANY,8,3               ; @CID_NAME_ANY
	.comm	_SDIO_ANY_ID,8,3                ; @SDIO_ANY_ID
	.comm	_EXT_CSD_REV_ANY,8,3            ; @EXT_CSD_REV_ANY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"calling %ps\n"

	.no_dead_strip	_mmc_fixup_device
.subsections_via_symbols
