	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt_locate
_mt_locate:                             ## @mt_locate
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movl	%edx, -76(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movl	%edi, %ebx
	leaq	-96(%rbp), %rdi
	movl	$20, %esi
	callq	_bzero
	movl	$130, %r15d
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leaq	L_.str(%rip), %r14
	leaq	LJTI0_0(%rip), %r12
	movl	$0, -72(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtoull
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$128, %r15d
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-69(%rax), %ecx
	cmpl	$46, %ecx
	ja	LBB0_2
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r12,%rcx,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, -72(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtoull
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$129, %r15d
	movl	$1, -60(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$131, %r15d
	movl	$1, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_1
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtoull
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$130, %r15d
	jmp	LBB0_1
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, -68(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtol
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$1, -64(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	jne	LBB0_1
## %bb.3:
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	addl	-104(%rbp), %eax                ## 4-byte Folded Reload
	addl	-56(%rbp), %eax                 ## 4-byte Folded Reload
	addl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	cmpl	$1, %eax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_5:
	movl	%r15d, -96(%rbp)
	cmpl	$131, %r15d
	je	LBB0_7
## %bb.6:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -80(%rbp)
LBB0_7:
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_9
## %bb.8:
	movq	_MT_LOCATE_FLAG_IMMED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -84(%rbp)
LBB0_9:
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.10:
	movq	_MT_LOCATE_FLAG_CHANGE_PART@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -84(%rbp)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -88(%rbp)
LBB0_11:
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_12
## %bb.21:
	movq	_MT_LOCATE_BAM_IMPLICIT@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_12:
	movq	_MT_LOCATE_BAM_EXPLICIT@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)
	movq	_MTIOCEXTLOCATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-96(%rbp), %rdx
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	callq	_ioctl
	cmpl	$-1, %eax
	jne	LBB0_24
## %bb.23:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	callq	_err
LBB0_24:
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_14
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_15
	.long	L0_0_set_17
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_18
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_19
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_20
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"b:eEf:ip:s:"

	.comm	_optarg,4,2                     ## @optarg
L_.str.1:                               ## @.str.1
	.asciz	"You must specify only one of -b, -f, -e, or -s"

	.comm	_MT_LOCATE_FLAG_IMMED,4,2       ## @MT_LOCATE_FLAG_IMMED
	.comm	_MT_LOCATE_FLAG_CHANGE_PART,4,2 ## @MT_LOCATE_FLAG_CHANGE_PART
	.comm	_MT_LOCATE_BAM_EXPLICIT,4,2     ## @MT_LOCATE_BAM_EXPLICIT
	.comm	_MT_LOCATE_BAM_IMPLICIT,4,2     ## @MT_LOCATE_BAM_IMPLICIT
	.comm	_MTIOCEXTLOCATE,4,2             ## @MTIOCEXTLOCATE
L_.str.2:                               ## @.str.2
	.asciz	"MTIOCEXTLOCATE ioctl failed on %s"

	.no_dead_strip	_mt_locate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt_locate
_mt_locate:                             ; @mt_locate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x3, [sp, #8]                    ; 8-byte Folded Spill
	str	w2, [sp, #16]                   ; 4-byte Folded Spill
	mov	x22, x1
	mov	x23, x0
	add	x0, sp, #40
	mov	w1, #20
	bl	_bzero
	stp	xzr, xzr, [sp, #24]             ; 16-byte Folded Spill
	str	wzr, [sp, #20]                  ; 4-byte Folded Spill
	mov	w28, #0
	mov	w27, #0
	mov	w21, #0
	mov	w25, #0
	mov	w19, #130
Lloh0:
	adrp	x24, l_.str@PAGE
Lloh1:
	add	x24, x24, l_.str@PAGEOFF
Lloh2:
	adrp	x20, _optarg@GOTPAGE
Lloh3:
	ldr	x20, [x20, _optarg@GOTPAGEOFF]
Lloh4:
	adrp	x26, lJTI0_0@PAGE
Lloh5:
	add	x26, x26, lJTI0_0@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x20]
	mov	x1, #0
	mov	w2, #0
	bl	_strtoull
	mov	x25, x0
	mov	w19, #128
	mov	w21, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	bl	_getopt
	sub	w8, w0, #69
	cmp	w8, #46
	b.hi	LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x26, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x20]
	mov	x1, #0
	mov	w2, #0
	bl	_strtoull
	mov	x25, x0
	mov	w19, #129
	mov	w28, #1
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w19, #131
	mov	w8, #1
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x20]
	mov	x1, #0
	mov	w2, #0
	bl	_strtoull
	mov	x25, x0
	mov	w19, #130
	mov	w27, #1
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	str	w8, [sp, #32]                   ; 4-byte Folded Spill
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x20]
	mov	x1, #0
	mov	w2, #0
	bl	_strtol
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	mov	w8, #1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.11:
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	add	w8, w28, w8
	add	w8, w8, w27
	add	w8, w8, w21
	cmp	w8, #1
	b.eq	LBB0_13
; %bb.12:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_13:
	str	w19, [sp, #40]
	cmp	w19, #131
	b.eq	LBB0_15
; %bb.14:
	str	w25, [sp, #56]
LBB0_15:
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_17
; %bb.16:
Lloh8:
	adrp	x8, _MT_LOCATE_FLAG_IMMED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MT_LOCATE_FLAG_IMMED@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [sp, #52]
	orr	w8, w9, w8
	str	w8, [sp, #52]
LBB0_17:
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_19
; %bb.18:
Lloh11:
	adrp	x8, _MT_LOCATE_FLAG_CHANGE_PART@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MT_LOCATE_FLAG_CHANGE_PART@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [sp, #52]
	orr	w8, w9, w8
	str	w8, [sp, #52]
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	str	w8, [sp, #48]
LBB0_19:
Lloh14:
	adrp	x8, _MT_LOCATE_BAM_IMPLICIT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MT_LOCATE_BAM_IMPLICIT@GOTPAGEOFF]
Lloh16:
	adrp	x9, _MT_LOCATE_BAM_EXPLICIT@GOTPAGE
Lloh17:
	ldr	x9, [x9, _MT_LOCATE_BAM_EXPLICIT@GOTPAGEOFF]
	ldr	w10, [sp, #36]                  ; 4-byte Folded Reload
	cmp	w10, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [sp, #44]
Lloh18:
	adrp	x8, _MTIOCEXTLOCATE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MTIOCEXTLOCATE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	add	x2, sp, #40
	ldr	w0, [sp, #16]                   ; 4-byte Folded Reload
	bl	_ioctl
	cmn	w0, #1
	b.ne	LBB0_21
; %bb.20:
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	bl	_err
LBB0_21:
	mov	w0, #0
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"b:eEf:ip:s:"

	.comm	_optarg,4,2                     ; @optarg
l_.str.1:                               ; @.str.1
	.asciz	"You must specify only one of -b, -f, -e, or -s"

	.comm	_MT_LOCATE_FLAG_IMMED,4,2       ; @MT_LOCATE_FLAG_IMMED
	.comm	_MT_LOCATE_FLAG_CHANGE_PART,4,2 ; @MT_LOCATE_FLAG_CHANGE_PART
	.comm	_MT_LOCATE_BAM_EXPLICIT,4,2     ; @MT_LOCATE_BAM_EXPLICIT
	.comm	_MT_LOCATE_BAM_IMPLICIT,4,2     ; @MT_LOCATE_BAM_IMPLICIT
	.comm	_MTIOCEXTLOCATE,4,2             ; @MTIOCEXTLOCATE
l_.str.2:                               ; @.str.2
	.asciz	"MTIOCEXTLOCATE ioctl failed on %s"

	.no_dead_strip	_mt_locate
.subsections_via_symbols
