	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getdevtree
_getdevtree:                            ## @getdevtree
	.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	$328, %rsp                      ## imm = 0x148
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -308(%rbp)                  ## 4-byte Folded Spill
	movl	$1, %r12d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_getopt
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$98, %eax
	jne	LBB0_1
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_CAM_ARG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_arglist@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movl	-308(%rbp), %eax                ## 4-byte Reload
	cmovel	%r12d, %eax
	movl	%eax, -308(%rbp)                ## 4-byte Spill
	jmp	LBB0_1
LBB0_4:
	movq	_XPT_DEVICE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	movl	%eax, -312(%rbp)                ## 4-byte Spill
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.6:
	leaq	-352(%rbp), %rdi
	movl	$40, %esi
	callq	_bzero
	movq	_CAM_LUN_WILDCARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -340(%rbp)
	movq	_XPT_DEV_MATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -344(%rbp)
	movl	$7200, -352(%rbp)               ## imm = 0x1C20
	movl	$7200, %edi                     ## imm = 0x1C20
	callq	_malloc
	movq	%rax, -336(%rbp)
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	cmpl	$0, -308(%rbp)                  ## 4-byte Folded Reload
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.6(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	%rcx, -360(%rbp)                ## 8-byte Spill
	movl	$0, -348(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -328(%rbp)
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movl	-312(%rbp), %ebx                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	movq	_CAMIOCOMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	leaq	-352(%rbp), %rdx
	callq	_ioctl
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-352(%rbp), %rsi
	movq	-344(%rbp), %rdx
	movq	_CAM_REQ_CMP@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_CAM_DEV_MATCH_MORE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CAM_DEV_MATCH_LAST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	%rax, %rdx
	jne	LBB0_16
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%rsi, %rcx
	shrq	$32, %rcx
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rsi, %rcx
	jmp	LBB0_51
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	$68, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_18 Depth=2
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.12(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_49:                                ##   in Loop: Header=BB0_18 Depth=2
	incq	%r13
	movl	-348(%rbp), %eax
	addq	$72, %rbx
	cmpq	%rax, %r13
	jae	LBB0_50
LBB0_18:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-336(%rbp), %r12
	movl	-68(%r12,%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_44
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	cmpl	$129, %eax
	je	LBB0_26
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=2
	cmpl	$130, %eax
	jne	LBB0_48
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=2
	cmpl	$0, -308(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	_CAM_ARG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_arglist@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_49
LBB0_23:                                ##   in Loop: Header=BB0_18 Depth=2
	testl	%r15d, %r15d
	movq	_stdout@GOTPCREL(%rip), %r15
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_18 Depth=2
	movl	(%r15), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_25:                                ##   in Loop: Header=BB0_18 Depth=2
	movl	(%r15), %edi
	movl	-20(%r12,%rbx), %edx
	movq	-12(%r12,%rbx), %rcx
	movl	-4(%r12,%rbx), %r8d
	movl	(%r12,%rbx), %r9d
	movq	-360(%rbp), %rax                ## 8-byte Reload
	movq	%rax, (%rsp)
	xorl	%r15d, %r15d
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_49
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_18 Depth=2
	movl	-308(%rbp), %eax                ## 4-byte Reload
	orl	%r14d, %eax
	jne	LBB0_49
## %bb.45:                              ##   in Loop: Header=BB0_18 Depth=2
	cmpl	$2, %r15d
	jl	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_47:                                ##   in Loop: Header=BB0_18 Depth=2
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-60(%r12,%rbx), %rdx
	movl	-52(%r12,%rbx), %ecx
	xorl	%r14d, %r14d
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	incl	%r15d
	jmp	LBB0_49
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_18 Depth=2
	cmpl	$1, -308(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_49
## %bb.27:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	_DEV_RESULT_UNCONFIGURED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -44(%r12,%rbx)
	je	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	_CAM_ARG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_arglist@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_29
LBB0_30:                                ##   in Loop: Header=BB0_18 Depth=2
	leaq	(%r12,%rbx), %rdi
	addq	$-44, %rdi
	movl	-28(%r12,%rbx), %eax
	movq	_PROTO_SCSI@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_18 Depth=2
	leaq	-304(%rbp), %rsi
	callq	_print_dev_scsi
	jmp	LBB0_32
LBB0_33:                                ##   in Loop: Header=BB0_18 Depth=2
	movq	_PROTO_ATA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	_PROTO_SATAPM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_35
## %bb.36:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	_PROTO_MMCSD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_18 Depth=2
	leaq	-304(%rbp), %rsi
	callq	_print_dev_mmcsd
	jmp	LBB0_32
LBB0_29:                                ##   in Loop: Header=BB0_18 Depth=2
	movl	$1, %r14d
	jmp	LBB0_49
LBB0_35:                                ##   in Loop: Header=BB0_18 Depth=2
	leaq	-304(%rbp), %rsi
	callq	_print_dev_ata
	jmp	LBB0_32
LBB0_38:                                ##   in Loop: Header=BB0_18 Depth=2
	movq	_PROTO_SEMB@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_18 Depth=2
	leaq	-304(%rbp), %rsi
	callq	_print_dev_semb
LBB0_32:                                ##   in Loop: Header=BB0_18 Depth=2
	movl	$1, %r14d
	testl	%eax, %eax
	jne	LBB0_49
LBB0_41:                                ##   in Loop: Header=BB0_18 Depth=2
	testl	%r15d, %r15d
	movq	_stdout@GOTPCREL(%rip), %r14
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_18 Depth=2
	movl	(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_43:                                ##   in Loop: Header=BB0_18 Depth=2
	movl	(%r14), %edi
	movl	-40(%r12,%rbx), %ecx
	movl	-36(%r12,%rbx), %r8d
	movl	-32(%r12,%rbx), %r9d
	xorl	%r14d, %r14d
	leaq	L_.str.9(%rip), %rsi
	leaq	-304(%rbp), %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %r15d
	jmp	LBB0_49
LBB0_40:                                ##   in Loop: Header=BB0_18 Depth=2
	movb	$0, -302(%rbp)
	movw	$15932, -304(%rbp)              ## imm = 0x3E3C
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-352(%rbp), %rcx
	movq	-344(%rbp), %rdx
	movq	_CAM_REQ_CMP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_CAM_DEV_MATCH_MORE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-312(%rbp), %ebx                ## 4-byte Reload
LBB0_51:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r13d, %r13d
	cmpq	%rsi, %rcx
	jne	LBB0_53
## %bb.52:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	%rax, %rdx
	je	LBB0_9
	jmp	LBB0_53
LBB0_5:
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_warn
	movl	$1, %r13d
	jmp	LBB0_56
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movl	-312(%rbp), %edi                ## 4-byte Reload
	callq	_close
	movl	$1, %r13d
	jmp	LBB0_56
LBB0_16:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movl	$1, %r13d
LBB0_53:
	testl	%r15d, %r15d
	je	LBB0_55
LBB0_54:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_55:
	movl	%ebx, %edi
	callq	_close
LBB0_56:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_58
## %bb.57:
	movl	%r13d, %eax
	addq	$328, %rsp                      ## imm = 0x148
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_warn
	movl	$1, %r13d
	testl	%r15d, %r15d
	jne	LBB0_54
	jmp	LBB0_55
LBB0_58:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_arglist,4,2                    ## @arglist
	.comm	_CAM_ARG_VERBOSE,4,2            ## @CAM_ARG_VERBOSE
	.comm	_XPT_DEVICE,4,2                 ## @XPT_DEVICE
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"couldn't open %s"

	.comm	_CAM_XPT_PATH_ID,4,2            ## @CAM_XPT_PATH_ID
	.comm	_CAM_TARGET_WILDCARD,4,2        ## @CAM_TARGET_WILDCARD
	.comm	_CAM_LUN_WILDCARD,4,2           ## @CAM_LUN_WILDCARD
	.comm	_XPT_DEV_MATCH,4,2              ## @XPT_DEV_MATCH
L_.str.1:                               ## @.str.1
	.asciz	"can't malloc memory for matches"

	.comm	_CAMIOCOMMAND,4,2               ## @CAMIOCOMMAND
L_.str.2:                               ## @.str.2
	.asciz	"error sending CAMIOCOMMAND ioctl"

	.comm	_CAM_REQ_CMP,8,3                ## @CAM_REQ_CMP
	.comm	_CAM_DEV_MATCH_LAST,8,3         ## @CAM_DEV_MATCH_LAST
	.comm	_CAM_DEV_MATCH_MORE,8,3         ## @CAM_DEV_MATCH_MORE
L_.str.3:                               ## @.str.3
	.asciz	"got CAM error %#x, CDM error %d\n"

	.comm	_stdout,4,2                     ## @stdout
L_.str.4:                               ## @.str.4
	.asciz	")\n"

L_.str.5:                               ## @.str.5
	.asciz	"scbus%d on %s%d bus %d%s\n"

L_.str.6:                               ## @.str.6
	.space	1

L_.str.7:                               ## @.str.7
	.asciz	":"

	.comm	_DEV_RESULT_UNCONFIGURED,4,2    ## @DEV_RESULT_UNCONFIGURED
	.comm	_PROTO_SCSI,4,2                 ## @PROTO_SCSI
	.comm	_PROTO_ATA,4,2                  ## @PROTO_ATA
	.comm	_PROTO_SATAPM,4,2               ## @PROTO_SATAPM
	.comm	_PROTO_MMCSD,4,2                ## @PROTO_MMCSD
	.comm	_PROTO_SEMB,4,2                 ## @PROTO_SEMB
L_.str.8:                               ## @.str.8
	.asciz	"<>"

L_.str.9:                               ## @.str.9
	.asciz	"%-33s  at scbus%d target %d lun %jx ("

L_.str.10:                              ## @.str.10
	.asciz	","

L_.str.11:                              ## @.str.11
	.asciz	"%s%d"

L_.str.12:                              ## @.str.12
	.asciz	"unknown match type\n"

	.comm	_PROTO_NVME,4,2                 ## @PROTO_NVME
	.no_dead_strip	_getdevtree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getdevtree
_getdevtree:                            ; @getdevtree
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #464
	.cfi_def_cfa_offset 464
	stp	x28, x27, [sp, #368]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #384]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #400]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #416]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #432]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #448]            ; 16-byte Folded Spill
	add	x29, sp, #448
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w26, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_getopt
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w0, #98
	b.ne	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh3:
	adrp	x8, _arglist@GOTPAGE
Lloh4:
	ldr	x8, [x8, _arglist@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _CAM_ARG_VERBOSE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CAM_ARG_VERBOSE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	csinc	w26, w26, wzr, ne
	b	LBB0_1
LBB0_4:
Lloh9:
	adrp	x19, _XPT_DEVICE@GOTPAGE
Lloh10:
	ldr	x19, [x19, _XPT_DEVICE@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh11:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_open
	cmn	w0, #1
	b.eq	LBB0_45
; %bb.5:
	mov	x23, x0
	add	x0, sp, #56
	mov	w1, #40
	bl	_bzero
Lloh14:
	adrp	x8, _CAM_LUN_WILDCARD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CAM_LUN_WILDCARD@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [sp, #68]
Lloh17:
	adrp	x8, _XPT_DEV_MATCH@GOTPAGE
Lloh18:
	ldr	x8, [x8, _XPT_DEV_MATCH@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	mov	w9, #7200
	str	w8, [sp, #64]
	str	w9, [sp, #56]
	mov	w0, #7200
	bl	_malloc
	str	x0, [sp, #72]
	cbz	x0, LBB0_46
; %bb.6:
	mov	w28, #0
	mov	w21, #0
	str	wzr, [sp, #60]
Lloh20:
	adrp	x8, l_.str.6@PAGE
Lloh21:
	add	x8, x8, l_.str.6@PAGEOFF
Lloh22:
	adrp	x9, l_.str.7@PAGE
Lloh23:
	add	x9, x9, l_.str.7@PAGEOFF
	cmp	w26, #0
	csel	x20, x9, x8, eq
Lloh24:
	adrp	x19, _CAMIOCOMMAND@GOTPAGE
Lloh25:
	ldr	x19, [x19, _CAMIOCOMMAND@GOTPAGEOFF]
Lloh26:
	adrp	x27, _CAM_REQ_CMP@GOTPAGE
Lloh27:
	ldr	x27, [x27, _CAM_REQ_CMP@GOTPAGEOFF]
	stp	xzr, xzr, [sp, #80]
Lloh28:
	adrp	x22, _stdout@GOTPAGE
Lloh29:
	ldr	x22, [x22, _stdout@GOTPAGEOFF]
Lloh30:
	adrp	x24, l_.str.5@PAGE
Lloh31:
	add	x24, x24, l_.str.5@PAGEOFF
Lloh32:
	adrp	x25, l_.str.12@PAGE
Lloh33:
	add	x25, x25, l_.str.12@PAGEOFF
	str	w23, [sp, #52]                  ; 4-byte Folded Spill
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
Lloh34:
	adrp	x27, _CAM_REQ_CMP@GOTPAGE
Lloh35:
	ldr	x27, [x27, _CAM_REQ_CMP@GOTPAGEOFF]
	ldr	x8, [x27]
	ldp	x11, x9, [sp, #56]
Lloh36:
	adrp	x10, _CAM_DEV_MATCH_MORE@GOTPAGE
Lloh37:
	ldr	x10, [x10, _CAM_DEV_MATCH_MORE@GOTPAGEOFF]
Lloh38:
	ldr	x10, [x10]
	ldr	w23, [sp, #52]                  ; 4-byte Folded Reload
Lloh39:
	adrp	x19, _CAMIOCOMMAND@GOTPAGE
Lloh40:
	ldr	x19, [x19, _CAMIOCOMMAND@GOTPAGEOFF]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	cmp	x11, x8
	ccmp	x9, x10, #0, eq
	b.ne	LBB0_53
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	ldr	w1, [x19]
	add	x2, sp, #56
	mov	x0, x23
	bl	_ioctl
	cmn	w0, #1
	b.eq	LBB0_52
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x10, [x27]
	ldp	x8, x9, [sp, #56]
	cmp	x8, x10
	b.ne	LBB0_47
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh41:
	adrp	x10, _CAM_DEV_MATCH_LAST@GOTPAGE
Lloh42:
	ldr	x10, [x10, _CAM_DEV_MATCH_LAST@GOTPAGEOFF]
Lloh43:
	ldr	x11, [x10]
Lloh44:
	adrp	x10, _CAM_DEV_MATCH_MORE@GOTPAGE
Lloh45:
	ldr	x10, [x10, _CAM_DEV_MATCH_MORE@GOTPAGEOFF]
Lloh46:
	ldr	x10, [x10]
	cmp	x9, x11
	ccmp	x9, x10, #4, ne
	b.ne	LBB0_47
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	lsr	x11, x8, #32
	cbnz	x11, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x11, x8
	b	LBB0_8
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x23, #0
	mov	w27, #36
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w0, [x22]
	mov	x1, x25
	bl	_fprintf
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=2
	add	x23, x23, #1
	ldr	w8, [sp, #60]
	add	x27, x27, #72
	cmp	x23, x8
	b.hs	LBB0_7
LBB0_17:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x19, [sp, #72]
	add	x8, x19, x27
	ldur	w8, [x8, #-36]
	cmp	w8, #128
	b.eq	LBB0_25
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	cmp	w8, #129
	b.eq	LBB0_29
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=2
	cmp	w8, #130
	b.ne	LBB0_15
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=2
	cbnz	w26, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=2
Lloh47:
	adrp	x8, _arglist@GOTPAGE
Lloh48:
	ldr	x8, [x8, _arglist@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
Lloh50:
	adrp	x9, _CAM_ARG_VERBOSE@GOTPAGE
Lloh51:
	ldr	x9, [x9, _CAM_ARG_VERBOSE@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
LBB0_22:                                ;   in Loop: Header=BB0_17 Depth=2
	cbz	w21, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	w0, [x22]
Lloh53:
	adrp	x1, l_.str.4@PAGE
Lloh54:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
LBB0_24:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w0, [x22]
	add	x8, x19, x27
	ldur	x9, [x8, #20]
	ldr	w10, [x8, #12]
	ldp	w11, w8, [x8, #28]
	stp	x8, x20, [sp, #24]
	stp	x9, x11, [sp, #8]
	str	x10, [sp]
	mov	x1, x24
	bl	_fprintf
	mov	w21, #0
	b	LBB0_16
LBB0_25:                                ;   in Loop: Header=BB0_17 Depth=2
	orr	w8, w26, w28
	cbnz	w8, LBB0_16
; %bb.26:                               ;   in Loop: Header=BB0_17 Depth=2
	cmp	w21, #2
	b.lt	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	w0, [x22]
Lloh55:
	adrp	x1, l_.str.10@PAGE
Lloh56:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_fprintf
LBB0_28:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w0, [x22]
	add	x8, x19, x27
	ldur	x9, [x8, #-28]
	ldur	w8, [x8, #-20]
	stp	x9, x8, [sp]
Lloh57:
	adrp	x1, l_.str.11@PAGE
Lloh58:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_fprintf
	mov	w28, #0
	add	w21, w21, #1
	b	LBB0_16
LBB0_29:                                ;   in Loop: Header=BB0_17 Depth=2
	cmp	w26, #1
	b.eq	LBB0_16
; %bb.30:                               ;   in Loop: Header=BB0_17 Depth=2
	add	x8, x19, x27
	mov	x0, x8
	ldr	w9, [x0, #-12]!
Lloh59:
	adrp	x10, _DEV_RESULT_UNCONFIGURED@GOTPAGE
Lloh60:
	ldr	x10, [x10, _DEV_RESULT_UNCONFIGURED@GOTPAGEOFF]
Lloh61:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_17 Depth=2
Lloh62:
	adrp	x9, _arglist@GOTPAGE
Lloh63:
	ldr	x9, [x9, _arglist@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
Lloh65:
	adrp	x10, _CAM_ARG_VERBOSE@GOTPAGE
Lloh66:
	ldr	x10, [x10, _CAM_ARG_VERBOSE@GOTPAGEOFF]
Lloh67:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_43
LBB0_32:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w8, [x8, #4]
Lloh68:
	adrp	x9, _PROTO_SCSI@GOTPAGE
Lloh69:
	ldr	x9, [x9, _PROTO_SCSI@GOTPAGEOFF]
Lloh70:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_37
; %bb.33:                               ;   in Loop: Header=BB0_17 Depth=2
	add	x1, sp, #96
	bl	_print_dev_scsi
	cbnz	w0, LBB0_43
LBB0_34:                                ;   in Loop: Header=BB0_17 Depth=2
	cbz	w21, LBB0_36
LBB0_35:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w0, [x22]
Lloh71:
	adrp	x1, l_.str.4@PAGE
Lloh72:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
LBB0_36:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w0, [x22]
	add	x8, x19, x27
	ldp	w9, w10, [x8, #-8]
	ldr	w8, [x8]
	stp	x10, x8, [sp, #16]
	add	x8, sp, #96
	stp	x8, x9, [sp]
Lloh73:
	adrp	x1, l_.str.9@PAGE
Lloh74:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_fprintf
	mov	w28, #0
	mov	w21, #1
	b	LBB0_16
LBB0_37:                                ;   in Loop: Header=BB0_17 Depth=2
Lloh75:
	adrp	x9, _PROTO_ATA@GOTPAGE
Lloh76:
	ldr	x9, [x9, _PROTO_ATA@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
Lloh78:
	adrp	x10, _PROTO_SATAPM@GOTPAGE
Lloh79:
	ldr	x10, [x10, _PROTO_SATAPM@GOTPAGEOFF]
Lloh80:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_17 Depth=2
	add	x1, sp, #96
	bl	_print_dev_ata
	cbnz	w0, LBB0_43
	b	LBB0_34
LBB0_39:                                ;   in Loop: Header=BB0_17 Depth=2
Lloh81:
	adrp	x9, _PROTO_MMCSD@GOTPAGE
Lloh82:
	ldr	x9, [x9, _PROTO_MMCSD@GOTPAGEOFF]
Lloh83:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_17 Depth=2
	add	x1, sp, #96
	bl	_print_dev_mmcsd
	cbnz	w0, LBB0_43
	b	LBB0_34
LBB0_41:                                ;   in Loop: Header=BB0_17 Depth=2
Lloh84:
	adrp	x9, _PROTO_SEMB@GOTPAGE
Lloh85:
	ldr	x9, [x9, _PROTO_SEMB@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_44
; %bb.42:                               ;   in Loop: Header=BB0_17 Depth=2
	add	x1, sp, #96
	bl	_print_dev_semb
	cbz	w0, LBB0_34
LBB0_43:                                ;   in Loop: Header=BB0_17 Depth=2
	mov	w28, #1
	b	LBB0_16
LBB0_44:                                ;   in Loop: Header=BB0_17 Depth=2
	strb	wzr, [sp, #98]
	mov	w8, #15932
	strh	w8, [sp, #96]
	cbnz	w21, LBB0_35
	b	LBB0_36
LBB0_45:
	ldr	w8, [x19]
	str	x8, [sp]
Lloh87:
	adrp	x0, l_.str@PAGE
Lloh88:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
	mov	w20, #1
	b	LBB0_50
LBB0_46:
Lloh89:
	adrp	x0, l_.str.1@PAGE
Lloh90:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warnx
	mov	x0, x23
	bl	_close
	mov	w20, #1
	b	LBB0_50
LBB0_47:
	stp	x8, x9, [sp]
Lloh91:
	adrp	x0, l_.str.3@PAGE
Lloh92:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_warnx
	mov	w20, #1
	cbz	w21, LBB0_49
LBB0_48:
	ldr	w0, [x22]
Lloh93:
	adrp	x1, l_.str.4@PAGE
Lloh94:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
LBB0_49:
	mov	x0, x23
	bl	_close
LBB0_50:
	ldur	x8, [x29, #-96]
Lloh95:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh96:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh97:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_54
; %bb.51:
	mov	x0, x20
	ldp	x29, x30, [sp, #448]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #432]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #416]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #400]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #384]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #368]            ; 16-byte Folded Reload
	add	sp, sp, #464
	ret
LBB0_52:
Lloh98:
	adrp	x0, l_.str.2@PAGE
Lloh99:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warn
	mov	w20, #1
	cbnz	w21, LBB0_48
	b	LBB0_49
LBB0_53:
	mov	w20, #0
	cbnz	w21, LBB0_48
	b	LBB0_49
LBB0_54:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpAdd	Lloh98, Lloh99
	.cfi_endproc
                                        ; -- End function
	.comm	_arglist,4,2                    ; @arglist
	.comm	_CAM_ARG_VERBOSE,4,2            ; @CAM_ARG_VERBOSE
	.comm	_XPT_DEVICE,4,2                 ; @XPT_DEVICE
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"couldn't open %s"

	.comm	_CAM_XPT_PATH_ID,4,2            ; @CAM_XPT_PATH_ID
	.comm	_CAM_TARGET_WILDCARD,4,2        ; @CAM_TARGET_WILDCARD
	.comm	_CAM_LUN_WILDCARD,4,2           ; @CAM_LUN_WILDCARD
	.comm	_XPT_DEV_MATCH,4,2              ; @XPT_DEV_MATCH
l_.str.1:                               ; @.str.1
	.asciz	"can't malloc memory for matches"

	.comm	_CAMIOCOMMAND,4,2               ; @CAMIOCOMMAND
l_.str.2:                               ; @.str.2
	.asciz	"error sending CAMIOCOMMAND ioctl"

	.comm	_CAM_REQ_CMP,8,3                ; @CAM_REQ_CMP
	.comm	_CAM_DEV_MATCH_LAST,8,3         ; @CAM_DEV_MATCH_LAST
	.comm	_CAM_DEV_MATCH_MORE,8,3         ; @CAM_DEV_MATCH_MORE
l_.str.3:                               ; @.str.3
	.asciz	"got CAM error %#x, CDM error %d\n"

	.comm	_stdout,4,2                     ; @stdout
l_.str.4:                               ; @.str.4
	.asciz	")\n"

l_.str.5:                               ; @.str.5
	.asciz	"scbus%d on %s%d bus %d%s\n"

l_.str.6:                               ; @.str.6
	.space	1

l_.str.7:                               ; @.str.7
	.asciz	":"

	.comm	_DEV_RESULT_UNCONFIGURED,4,2    ; @DEV_RESULT_UNCONFIGURED
	.comm	_PROTO_SCSI,4,2                 ; @PROTO_SCSI
	.comm	_PROTO_ATA,4,2                  ; @PROTO_ATA
	.comm	_PROTO_SATAPM,4,2               ; @PROTO_SATAPM
	.comm	_PROTO_MMCSD,4,2                ; @PROTO_MMCSD
	.comm	_PROTO_SEMB,4,2                 ; @PROTO_SEMB
l_.str.8:                               ; @.str.8
	.asciz	"<>"

l_.str.9:                               ; @.str.9
	.asciz	"%-33s  at scbus%d target %d lun %jx ("

l_.str.10:                              ; @.str.10
	.asciz	","

l_.str.11:                              ; @.str.11
	.asciz	"%s%d"

l_.str.12:                              ; @.str.12
	.asciz	"unknown match type\n"

	.comm	_PROTO_NVME,4,2                 ; @PROTO_NVME
	.no_dead_strip	_getdevtree
.subsections_via_symbols
