	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function umass_probe
_umass_probe:                           ## @umass_probe
	.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
	movl	%edi, %ebx
	callq	_device_get_ivars
	movq	(%rax), %rcx
	movq	_USB_MODE_HOST@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.1:
	movq	8(%rax), %rcx
	movq	_UICLASS_MASS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.2:
	movq	16(%rax), %rcx
	movq	_UISUBCLASS_SCSI@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.3:
	movq	24(%rax), %rax
	movq	_UIPROTO_MASS_BBB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movl	%ebx, %edi
	callq	_device_get_unit
	testq	%rax, %rax
	je	LBB0_5
LBB0_6:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_MODE_HOST,8,3              ## @USB_MODE_HOST
	.comm	_UICLASS_MASS,8,3               ## @UICLASS_MASS
	.comm	_UISUBCLASS_SCSI,8,3            ## @UISUBCLASS_SCSI
	.comm	_UIPROTO_MASS_BBB,8,3           ## @UIPROTO_MASS_BBB
	.comm	_ENXIO,4,2                      ## @ENXIO
	.no_dead_strip	_umass_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function umass_probe
_umass_probe:                           ; @umass_probe
	.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
	bl	_device_get_ivars
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _USB_MODE_HOST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _USB_MODE_HOST@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _UICLASS_MASS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _UICLASS_MASS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x0, #16]
Lloh6:
	adrp	x9, _UISUBCLASS_SCSI@GOTPAGE
Lloh7:
	ldr	x9, [x9, _UISUBCLASS_SCSI@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x0, #24]
Lloh9:
	adrp	x9, _UIPROTO_MASS_BBB@GOTPAGE
Lloh10:
	ldr	x9, [x9, _UIPROTO_MASS_BBB@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_device_get_unit
	cbz	x0, LBB0_6
LBB0_5:
Lloh12:
	adrp	x8, _ENXIO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_6:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_MODE_HOST,8,3              ; @USB_MODE_HOST
	.comm	_UICLASS_MASS,8,3               ; @UICLASS_MASS
	.comm	_UISUBCLASS_SCSI,8,3            ; @UISUBCLASS_SCSI
	.comm	_UIPROTO_MASS_BBB,8,3           ; @UIPROTO_MASS_BBB
	.comm	_ENXIO,4,2                      ; @ENXIO
	.no_dead_strip	_umass_probe
.subsections_via_symbols
