	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setdumpnum
_setdumpnum:                            ## @setdumpnum
	.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	_dumpnum@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	cmpl	$1, %eax
	je	LBB0_7
## %bb.1:
	movq	_volno@GOTPCREL(%rip), %rcx
	cmpl	$1, (%rcx)
	jne	LBB0_7
## %bb.2:
	movq	_pipein@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_done
	movl	(%rbx), %eax
LBB0_4:
	movq	_MTFSF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -12(%rbp)
	decl	%eax
	movl	%eax, -16(%rbp)
	movq	_pipecmdin@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_7
## %bb.5:
	movq	_mt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MTIOCTOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	jns	LBB0_7
## %bb.6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dumpnum,4,2                    ## @dumpnum
	.comm	_volno,4,2                      ## @volno
	.comm	_pipein,8,3                     ## @pipein
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot have multiple dumps on pipe input\n"

	.comm	_MTFSF,4,2                      ## @MTFSF
	.comm	_pipecmdin,4,2                  ## @pipecmdin
	.comm	_mt,4,2                         ## @mt
	.comm	_MTIOCTOP,4,2                   ## @MTIOCTOP
L_.str.1:                               ## @.str.1
	.asciz	"ioctl MTFSF: %s\n"

	.comm	_errno,4,2                      ## @errno
	.comm	_host,8,3                       ## @host
	.no_dead_strip	_setdumpnum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setdumpnum
_setdumpnum:                            ; @setdumpnum
	.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
Lloh0:
	adrp	x19, _dumpnum@GOTPAGE
Lloh1:
	ldr	x19, [x19, _dumpnum@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _volno@GOTPAGE
Lloh3:
	ldr	x9, [x9, _volno@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, #1
	ccmp	w9, #1, #0, ne
	b.ne	LBB0_6
; %bb.1:
Lloh5:
	adrp	x9, _pipein@GOTPAGE
Lloh6:
	ldr	x9, [x9, _pipein@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cbz	x9, LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_done
	ldr	w8, [x19]
LBB0_3:
Lloh13:
	adrp	x9, _MTFSF@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MTFSF@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	sub	w8, w8, #1
	stp	w8, w9, [sp, #8]
Lloh16:
	adrp	x8, _pipecmdin@GOTPAGE
Lloh17:
	ldr	x8, [x8, _pipecmdin@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cbnz	w8, LBB0_6
; %bb.4:
Lloh19:
	adrp	x8, _mt@GOTPAGE
Lloh20:
	ldr	x8, [x8, _mt@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x8, _MTIOCTOP@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MTIOCTOP@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ioctl
	tbz	x0, #63, LBB0_6
; %bb.5:
Lloh25:
	adrp	x8, _stderr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh27:
	ldr	w19, [x8]
Lloh28:
	adrp	x8, _errno@GOTPAGE
Lloh29:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_strerror
	str	x0, [sp]
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_fprintf
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_dumpnum,4,2                    ; @dumpnum
	.comm	_volno,4,2                      ; @volno
	.comm	_pipein,8,3                     ; @pipein
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot have multiple dumps on pipe input\n"

	.comm	_MTFSF,4,2                      ; @MTFSF
	.comm	_pipecmdin,4,2                  ; @pipecmdin
	.comm	_mt,4,2                         ; @mt
	.comm	_MTIOCTOP,4,2                   ; @MTIOCTOP
l_.str.1:                               ; @.str.1
	.asciz	"ioctl MTFSF: %s\n"

	.comm	_errno,4,2                      ; @errno
	.comm	_host,8,3                       ; @host
	.no_dead_strip	_setdumpnum
.subsections_via_symbols
