	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function new_system_port_status
_new_system_port_status:                ## @new_system_port_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movl	40(%rdi), %ecx
	movl	%ecx, %edx
	shrl	$4, %edx
	andl	$1, %edx
	movl	%edx, 4(%rdi)
	testb	$1, %cl
	je	LBB0_4
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movq	16(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movl	$1, (%rbx)
	movq	$0, 32(%rbx)
	movq	_disable_offload_processing@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	24(%rbx), %rdi
	je	LBB0_8
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$8, %edx
	callq	_strncpy
	jmp	LBB0_9
LBB0_4:
	testb	$1, %cl
	jne	LBB0_7
## %bb.5:
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movq	16(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_info
	movl	$0, (%rbx)
	xorl	%esi, %esi
	jmp	LBB0_10
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	movq	$0, (%rdi)
LBB0_9:
	movl	$1, %esi
LBB0_10:
	movl	8(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mmc_detect_change              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"card just inserted\n"

	.comm	_disable_offload_processing,8,3 ## @disable_offload_processing
L_.str.1:                               ## @.str.1
	.asciz	"EMPTY Processing Disabled"

L_.str.2:                               ## @.str.2
	.asciz	"card just ejected\n"

	.no_dead_strip	_new_system_port_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function new_system_port_status
_new_system_port_status:                ; @new_system_port_status
	.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
	mov	x19, x0
	ldr	w8, [x0]
	ldr	w9, [x0, #40]
	ubfx	w10, w9, #4, #1
	str	w10, [x0, #4]
	tbz	w9, #0, LBB0_4
; %bb.1:
	cbnz	w8, LBB0_4
; %bb.2:
	ldr	x0, [x19, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	mov	w8, #1
	str	w8, [x19]
	str	xzr, [x19, #32]
Lloh2:
	adrp	x8, _disable_offload_processing@GOTPAGE
Lloh3:
	ldr	x8, [x8, _disable_offload_processing@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x0, [x19, #24]
	cbz	x8, LBB0_8
; %bb.3:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #8
	bl	_strncpy
	b	LBB0_9
LBB0_4:
	tbnz	w9, #0, LBB0_7
; %bb.5:
	cbz	w8, LBB0_7
; %bb.6:
	ldr	x0, [x19, #16]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_info
	mov	w1, #0
	str	wzr, [x19]
	b	LBB0_10
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	str	xzr, [x0]
LBB0_9:
	mov	w1, #1
LBB0_10:
	ldr	w0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mmc_detect_change
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"card just inserted\n"

	.comm	_disable_offload_processing,8,3 ; @disable_offload_processing
l_.str.1:                               ; @.str.1
	.asciz	"EMPTY Processing Disabled"

l_.str.2:                               ; @.str.2
	.asciz	"card just ejected\n"

	.no_dead_strip	_new_system_port_status
.subsections_via_symbols
