	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function umass_disk_print
_umass_disk_print:                      ## @umass_disk_print
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	movq	_umass_disk@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_printf
	leaq	L_.str.1(%rip), %rdi
	callq	_pager_output
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_5
## %bb.1:
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	leaq	L_.str.2(%rip), %rdi
	callq	_pager_output
	movq	_ret@GOTPCREL(%rip), %r12
	movq	%rax, (%r12)
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movq	%rbx, -40(%rbp)
	movq	$0, -48(%rbp)
	movq	_D_SLICENONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_D_PARTNONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	leaq	-56(%rbp), %rdi
	callq	_umass_disk_open_sub
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_disk_print
	movq	%rax, (%r12)
	movq	%r14, %rdi
	callq	_disk_close
LBB0_4:
	movl	(%r12), %eax
LBB0_5:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s devices:"

	.comm	_umass_disk,8,3                 ## @umass_disk
L_.str.1:                               ## @.str.1
	.asciz	"\n"

L_.str.2:                               ## @.str.2
	.asciz	"    umass0   UMASS device\n"

	.comm	_ret,8,3                        ## @ret
	.comm	_D_SLICENONE,4,2                ## @D_SLICENONE
	.comm	_D_PARTNONE,4,2                 ## @D_PARTNONE
L_.str.3:                               ## @.str.3
	.asciz	"    umass0"

	.no_dead_strip	_umass_disk_print
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function umass_disk_print
_umass_disk_print:                      ; @umass_disk_print
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
Lloh0:
	adrp	x21, _umass_disk@GOTPAGE
Lloh1:
	ldr	x21, [x21, _umass_disk@GOTPAGEOFF]
	ldr	x1, [x21]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pager_output
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_6
LBB0_2:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pager_output
Lloh8:
	adrp	x20, _ret@GOTPAGE
Lloh9:
	ldr	x20, [x20, _ret@GOTPAGEOFF]
	str	x0, [x20]
	cbnz	x0, LBB0_6
; %bb.3:
	stp	xzr, x21, [sp, #16]
Lloh10:
	adrp	x8, _D_SLICENONE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _D_SLICENONE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _D_PARTNONE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _D_PARTNONE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
	add	x0, sp, #8
	bl	_umass_disk_open_sub
	cbnz	x0, LBB0_5
; %bb.4:
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #8
	mov	x2, x19
	bl	_disk_print
	str	x0, [x20]
	add	x0, sp, #8
	bl	_disk_close
LBB0_5:
	ldr	w0, [x20]
LBB0_6:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s devices:"

	.comm	_umass_disk,8,3                 ; @umass_disk
l_.str.1:                               ; @.str.1
	.asciz	"\n"

l_.str.2:                               ; @.str.2
	.asciz	"    umass0   UMASS device\n"

	.comm	_ret,8,3                        ; @ret
	.comm	_D_SLICENONE,4,2                ; @D_SLICENONE
	.comm	_D_PARTNONE,4,2                 ; @D_PARTNONE
l_.str.3:                               ; @.str.3
	.asciz	"    umass0"

	.no_dead_strip	_umass_disk_print
.subsections_via_symbols
