	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cistpl_funce_func
_cistpl_funce_func:                     ## @cistpl_funce_func
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	8(%rsi), %rax
	movl	(%rax), %eax
	cmpl	$28, %ecx
	jne	LBB0_6
## %bb.3:
	movq	_SDIO_SDIO_REV_1_10@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_6
## %bb.4:
	movl	(%rdi), %edi
	callq	_mmc_hostname
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_warn
	movb	12(%r14), %al
	movb	%al, (%rbx)
	jmp	LBB0_5
LBB0_6:
	movq	_SDIO_SDIO_REV_1_00@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpl	%edx, %eax
	movl	$28, %esi
	movl	$42, %edi
	cmovel	%esi, %edi
	cmpl	%ecx, %edi
	jbe	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_7:
	movb	12(%r14), %cl
	movb	%cl, (%rbx)
	cmpl	%edx, %eax
	jbe	LBB0_5
## %bb.8:
	movzbl	28(%r14), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movb	%al, 1(%rbx)
	jmp	LBB0_9
LBB0_5:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_jiffies_to_msecs
	movb	%al, 1(%rbx)
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SDIO_SDIO_REV_1_00,4,2         ## @SDIO_SDIO_REV_1_00
	.comm	_SDIO_SDIO_REV_1_10,4,2         ## @SDIO_SDIO_REV_1_10
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: card has broken SDIO 1.1 CIS, forcing SDIO 1.0\n"

	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_cistpl_funce_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cistpl_funce_func
_cistpl_funce_func:                     ; @cistpl_funce_func
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x1, LBB0_5
; %bb.1:
	mov	x20, x2
	mov	x19, x1
	ldr	x8, [x1, #8]
	ldr	w8, [x8]
	cmp	w3, #28
	b.ne	LBB0_4
; %bb.2:
Lloh0:
	adrp	x9, _SDIO_SDIO_REV_1_10@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SDIO_SDIO_REV_1_10@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x0]
	bl	_mmc_hostname
	mov	x1, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warn
	ldrb	w8, [x20, #12]
	strb	w8, [x19]
	b	LBB0_8
LBB0_4:
Lloh5:
	adrp	x9, _SDIO_SDIO_REV_1_00@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SDIO_SDIO_REV_1_00@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	mov	w10, #42
	mov	w11, #28
	cmp	w8, w9
	csel	w10, w11, w10, eq
	cmp	w10, w3
	b.ls	LBB0_6
LBB0_5:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_6:
	ldrb	w10, [x20, #12]
	strb	w10, [x19]
	cmp	w8, w9
	b.ls	LBB0_8
; %bb.7:
	mov	w0, #0
	ldrb	w8, [x20, #28]
	add	w8, w8, w8, lsl #2
	lsl	w8, w8, #1
	b	LBB0_9
LBB0_8:
Lloh11:
	adrp	x8, _HZ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_jiffies_to_msecs
	mov	x8, x0
	mov	w0, #0
LBB0_9:
	strb	w8, [x19, #1]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SDIO_SDIO_REV_1_00,4,2         ; @SDIO_SDIO_REV_1_00
	.comm	_SDIO_SDIO_REV_1_10,4,2         ; @SDIO_SDIO_REV_1_10
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: card has broken SDIO 1.1 CIS, forcing SDIO 1.0\n"

	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_cistpl_funce_func
.subsections_via_symbols
