	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hfcs_card_msg
_hfcs_card_msg:                         ## @hfcs_card_msg
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	_L1_DEB_ISAC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_debugl1
LBB0_2:
	cmpl	$131, %ebx
	je	LBB0_7
## %bb.3:
	cmpl	$130, %ebx
	je	LBB0_6
## %bb.4:
	cmpl	$129, %ebx
	jne	LBB0_9
## %bb.5:
	leaq	4(%r15), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	%r15, %rdi
	callq	_reset_hfcs
	movq	%rbx, %rdi
	jmp	LBB0_8
LBB0_7:
	movq	_HZ@GOTPCREL(%rip), %rax
	imull	$75, (%rax), %eax
	cltq
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	leaq	16(%r15), %rdi
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	(%rcx,%rax), %esi
	incl	%esi
	callq	_mod_timer
	leaq	4(%r15), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	%r15, %rdi
	callq	_reset_hfcs
	movq	%r15, %rdi
	callq	_init2bds0
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	$80, %edi
	callq	_msleep
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_HFCD_TIM800@GOTPCREL(%rip), %rax
	movl	12(%r15), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 12(%r15)
	movq	_HFCD_DATA@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_HFCD_CTMT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	*24(%r15)
	movl	(%rbx), %esi
	movq	_HFCD_MST_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%r15), %ecx
	movq	%r15, %rdi
	callq	*24(%r15)
	movq	%r14, %rdi
LBB0_8:
	callq	_spin_unlock_irqrestore
	jmp	LBB0_9
LBB0_6:
	movq	%r15, %rdi
	callq	_release_io_hfcs
LBB0_9:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_L1_DEB_ISAC,4,2                ## @L1_DEB_ISAC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HFCS: card_msg %x"

	.comm	_HZ,4,2                         ## @HZ
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_HFCD_TIM800,4,2                ## @HFCD_TIM800
	.comm	_HFCD_DATA,4,2                  ## @HFCD_DATA
	.comm	_HFCD_CTMT,4,2                  ## @HFCD_CTMT
	.comm	_HFCD_MST_MODE,4,2              ## @HFCD_MST_MODE
	.no_dead_strip	_hfcs_card_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hfcs_card_msg
_hfcs_card_msg:                         ; @hfcs_card_msg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _L1_DEB_ISAC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _L1_DEB_ISAC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_debugl1
LBB0_2:
	cmp	w20, #131
	b.eq	LBB0_6
; %bb.3:
	cmp	w20, #130
	b.eq	LBB0_8
; %bb.4:
	cmp	w20, #129
	b.ne	LBB0_9
; %bb.5:
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_reset_hfcs
	b	LBB0_7
LBB0_6:
Lloh5:
	adrp	x8, _HZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mov	w9, #75
	mul	w8, w8, w9
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	x0, x19, #16
Lloh8:
	adrp	x10, _jiffies@GOTPAGE
Lloh9:
	ldr	x10, [x10, _jiffies@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	add	w8, w8, w9
	add	w8, w10, w8
	add	w1, w8, #1
	bl	_mod_timer
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_reset_hfcs
	mov	x0, x19
	bl	_init2bds0
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	w0, #80
	bl	_msleep
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh11:
	adrp	x8, _HFCD_TIM800@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HFCD_TIM800@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	orr	w3, w9, w8
	str	w3, [x19, #12]
	ldr	x8, [x19, #24]
Lloh14:
	adrp	x21, _HFCD_DATA@GOTPAGE
Lloh15:
	ldr	x21, [x21, _HFCD_DATA@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh16:
	adrp	x9, _HFCD_CTMT@GOTPAGE
Lloh17:
	ldr	x9, [x9, _HFCD_CTMT@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x9]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #24]
	ldr	w1, [x21]
Lloh19:
	adrp	x9, _HFCD_MST_MODE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _HFCD_MST_MODE@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x9]
	ldr	w3, [x19, #8]
	mov	x0, x19
	blr	x8
LBB0_7:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	bl	_release_io_hfcs
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_L1_DEB_ISAC,4,2                ; @L1_DEB_ISAC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HFCS: card_msg %x"

	.comm	_HZ,4,2                         ; @HZ
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_HFCD_TIM800,4,2                ; @HFCD_TIM800
	.comm	_HFCD_DATA,4,2                  ; @HFCD_DATA
	.comm	_HFCD_CTMT,4,2                  ; @HFCD_CTMT
	.comm	_HFCD_MST_MODE,4,2              ; @HFCD_MST_MODE
	.no_dead_strip	_hfcs_card_msg
.subsections_via_symbols
