	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __card_createfatcallback
___card_createfatcallback:              ## @__card_createfatcallback
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_cardmap@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rdi,%rdi,2), %rbx
	leaq	(%r14,%rbx,8), %r12
	movq	16(%r14,%rbx,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	$0, 16(%r14,%rbx,8)
	movq	%r12, %rdi
	callq	___card_getdirblock
	movq	8(%r14,%rbx,8), %r13
	movq	(%rax), %rbx
	imulq	$56, (%r13), %r14
	movl	52(%rbx,%r14), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	48(%rbx,%r14), %edi
	xorl	%esi, %esi
	movl	$2, %edx
	callq	_memset
	movq	_card_gamecode@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	cmpl	$255, (%rsi)
	je	LBB0_3
## %bb.1:
	leaq	(%rbx,%r14), %rax
	addq	$52, %rax
	movl	(%rax), %edi
	movl	$4, %edx
	callq	_memcpy
	movq	(%r15), %rax
	cmpl	$255, (%rax)
	je	LBB0_3
## %bb.2:
	leaq	(%rbx,%r14), %rax
	addq	$48, %rax
	movl	(%rax), %edi
	movq	_card_company@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$2, %edx
	callq	_memcpy
LBB0_3:
	movl	(%r12), %eax
	movl	%eax, 44(%rbx,%r14)
	movq	_CARD_ATTRIB_PUBLIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx,%r14)
	movabsq	$-4294967041, %rax              ## imm = 0xFFFFFFFF000000FF
	movq	%rax, (%rbx,%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx,%r14)
	movabsq	$281470681743360, %rax          ## imm = 0xFFFF00000000
	movq	%rax, 8(%rbx,%r14)
	movq	_CARD_SPEED_FAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx,%r14)
	xorl	%edi, %edi
	callq	_time
	movl	%eax, 16(%rbx,%r14)
	movq	$0, 16(%r13)
	movl	(%r12), %eax
	movl	%eax, 8(%r13)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___card_updatedir               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cardmap,8,3                    ## @cardmap
	.comm	_card_gamecode,8,3              ## @card_gamecode
	.comm	_card_company,8,3               ## @card_company
	.comm	_CARD_ATTRIB_PUBLIC,4,2         ## @CARD_ATTRIB_PUBLIC
	.comm	_CARD_SPEED_MASK,4,2            ## @CARD_SPEED_MASK
	.comm	_CARD_SPEED_FAST,4,2            ## @CARD_SPEED_FAST
	.no_dead_strip	___card_createfatcallback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __card_createfatcallback
___card_createfatcallback:              ; @__card_createfatcallback
	.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, x0
Lloh0:
	adrp	x8, _cardmap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cardmap@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w9, #24
	madd	x21, x0, x9, x8
	ldr	x20, [x21, #16]
	str	xzr, [x21, #16]
	mov	x0, x21
	bl	___card_getdirblock
	ldr	x22, [x21, #8]
	ldr	x23, [x0]
	ldr	x24, [x22]
	mov	w8, #56
	madd	x25, x24, x8, x23
	mov	x26, x25
	ldr	w0, [x26, #52]!
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x25, #48]!
	mov	w1, #0
	mov	w2, #2
	bl	_memset
Lloh3:
	adrp	x27, _card_gamecode@GOTPAGE
Lloh4:
	ldr	x27, [x27, _card_gamecode@GOTPAGEOFF]
	ldr	x1, [x27]
	ldr	w8, [x1]
	cmp	w8, #255
	b.eq	LBB0_3
; %bb.1:
	ldr	w0, [x26]
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x27]
	ldr	w8, [x8]
	cmp	w8, #255
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [x25]
Lloh5:
	adrp	x8, _card_company@GOTPAGE
Lloh6:
	ldr	x8, [x8, _card_company@GOTPAGEOFF]
Lloh7:
	ldr	x1, [x8]
	mov	w2, #2
	bl	_memcpy
LBB0_3:
	ldr	w8, [x21]
	mov	w9, #56
	madd	x23, x24, x9, x23
	str	w8, [x23, #44]
Lloh8:
	adrp	x8, _CARD_ATTRIB_PUBLIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CARD_ATTRIB_PUBLIC@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x23, #40]
	movi	d0, #0xffffffff000000ff
	str	d0, [x23]
	stp	xzr, xzr, [x23, #24]
	movi	d0, #0x00ffff00000000
	str	d0, [x23, #8]
Lloh11:
	adrp	x8, _CARD_SPEED_FAST@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CARD_SPEED_FAST@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x23, #8]
	mov	x0, #0
	bl	_time
	str	w0, [x23, #16]
	str	xzr, [x22, #16]
	ldr	w8, [x21]
	str	w8, [x22, #8]
	mov	x0, x19
	mov	x1, x20
	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
	b	___card_updatedir
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_cardmap,8,3                    ; @cardmap
	.comm	_card_gamecode,8,3              ; @card_gamecode
	.comm	_card_company,8,3               ; @card_company
	.comm	_CARD_ATTRIB_PUBLIC,4,2         ; @CARD_ATTRIB_PUBLIC
	.comm	_CARD_SPEED_MASK,4,2            ; @CARD_SPEED_MASK
	.comm	_CARD_SPEED_FAST,4,2            ; @CARD_SPEED_FAST
	.no_dead_strip	___card_createfatcallback
.subsections_via_symbols
