	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_bus_uevent
_mmc_bus_uevent:                        ## @mmc_bus_uevent
	.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
	movq	%rsi, %r14
	callq	_mmc_dev_to_card
	movq	%rax, %rbx
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_2
## %bb.1:
	cltq
	leaq	l_reltable.mmc_bus_uevent(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdx
	addq	%rcx, %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_add_uevent_var
	testl	%eax, %eax
	jne	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_mmc_card_name
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_add_uevent_var
	testl	%eax, %eax
	je	LBB0_4
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_add_uevent_var                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MMC"

L_.str.1:                               ## @.str.1
	.asciz	"SD"

L_.str.2:                               ## @.str.2
	.asciz	"SDIO"

L_.str.3:                               ## @.str.3
	.asciz	"SDcombo"

L_.str.4:                               ## @.str.4
	.asciz	"MMC_TYPE=%s"

L_.str.5:                               ## @.str.5
	.asciz	"MMC_NAME=%s"

L_.str.6:                               ## @.str.6
	.asciz	"MODALIAS=mmc:block"

	.no_dead_strip	_mmc_bus_uevent
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.mmc_bus_uevent
l_reltable.mmc_bus_uevent:
	.long	L_.str.3-l_reltable.mmc_bus_uevent
	.long	L_.str.2-l_reltable.mmc_bus_uevent
	.long	L_.str.1-l_reltable.mmc_bus_uevent
	.long	L_.str-l_reltable.mmc_bus_uevent

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_bus_uevent
_mmc_bus_uevent:                        ; @mmc_bus_uevent
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	bl	_mmc_dev_to_card
	mov	x20, x0
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.mmc_bus_uevent@PAGE
Lloh1:
	add	x9, x9, l_switch.table.mmc_bus_uevent@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str.4@PAGE
Lloh3:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_add_uevent_var
	cbnz	w0, LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_mmc_card_name
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh4:
	adrp	x1, l_.str.5@PAGE
Lloh5:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_add_uevent_var
	cbz	w0, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
Lloh6:
	adrp	x1, l_.str.6@PAGE
Lloh7:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_add_uevent_var
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MMC"

l_.str.1:                               ; @.str.1
	.asciz	"SD"

l_.str.2:                               ; @.str.2
	.asciz	"SDIO"

l_.str.3:                               ; @.str.3
	.asciz	"SDcombo"

l_.str.4:                               ; @.str.4
	.asciz	"MMC_TYPE=%s"

l_.str.5:                               ; @.str.5
	.asciz	"MMC_NAME=%s"

l_.str.6:                               ; @.str.6
	.asciz	"MODALIAS=mmc:block"

	.no_dead_strip	_mmc_bus_uevent
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.mmc_bus_uevent
l_switch.table.mmc_bus_uevent:
	.quad	l_.str.3
	.quad	l_.str.2
	.quad	l_.str.1
	.quad	l_.str

.subsections_via_symbols
