	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function camdebug
_camdebug:                              ## @camdebug
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	_CAM_BUS_WILDCARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_CAM_TARGET_WILDCARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_CAM_LUN_WILDCARD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	leaq	-88(%rbp), %rdi
	movl	$32, %esi
	callq	_bzero
	leaq	LJTI0_0(%rip), %r13
	movq	_arglist@GOTPCREL(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_3
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-73(%rax), %ecx
	cmpl	$39, %ecx
	ja	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r13,%rcx,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_CAM_ARG_DEBUG_INFO@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_CAM_ARG_DEBUG_PERIPH@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_CAM_ARG_DEBUG_SUBTRACE@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_CAM_ARG_DEBUG_TRACE@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_CAM_ARG_DEBUG_XPT@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_CAM_ARG_DEBUG_CDB@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_CAM_ARG_DEBUG_PROBE@GOTPCREL(%rip), %rax
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rax), %eax
	orl	%eax, (%r12)
	jmp	LBB0_1
LBB0_3:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subl	%eax, %r15d
	testl	%r15d, %r15d
	jle	LBB0_4
## %bb.15:
	movq	(%r14,%rax,8), %rbx
	movsbl	(%rbx), %edi
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpb	$0, (%rbx)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movsbl	1(%rbx), %edi
	incq	%rbx
	jmp	LBB0_16
LBB0_19:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_20
## %bb.23:
	movq	_arglist@GOTPCREL(%rip), %r8
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_parse_btl
	testl	%eax, %eax
	jg	LBB0_21
## %bb.24:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	leaq	L_.str.1(%rip), %rdi
LBB0_5:
	xorl	%eax, %eax
	callq	_warnx
	movl	$1, %ebx
	jmp	LBB0_35
LBB0_20:
	movq	_CAM_ARG_DEBUG_INFO@GOTPCREL(%rip), %rax
	movq	_CAM_ARG_DEBUG_PERIPH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_CAM_ARG_DEBUG_TRACE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_CAM_ARG_DEBUG_SUBTRACE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_CAM_ARG_DEBUG_XPT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_CAM_ARG_DEBUG_PROBE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, (%r12)
LBB0_21:
	movq	_XPT_DEVICE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	testl	%eax, %eax
	js	LBB0_22
## %bb.25:
	movl	%eax, %r14d
	movq	_XPT_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	-48(%rbp), %eax
	movl	%eax, -88(%rbp)
	movl	-44(%rbp), %eax
	movl	%eax, -84(%rbp)
	movq	-56(%rbp), %rax
	movq	%rax, -72(%rbp)
	movq	_CAMIOCOMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-88(%rbp), %rdx
	movl	%r14d, %edi
	callq	_ioctl
	cmpl	$-1, %eax
	je	LBB0_26
## %bb.27:
	movl	-80(%rbp), %esi
	movq	_CAM_STATUS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	movq	_CAM_FUNC_NOTAVAIL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_29
## %bb.28:
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movl	$1, %ebx
	jmp	LBB0_34
LBB0_22:
	movl	(%rbx), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movl	(%rbx), %esi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_warn
	movl	$1, %ebx
	jmp	LBB0_35
LBB0_26:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_warn
	movl	$1, %ebx
	jmp	LBB0_34
LBB0_29:
	movq	_CAM_REQ_CMP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_30
## %bb.31:
	movq	-88(%rbp), %rax
	movq	_CAM_DEBUG_NONE@GOTPCREL(%rip), %rcx
	movq	_stderr@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	cmpq	(%rcx), %rax
	jne	LBB0_33
## %bb.32:
	leaq	L_.str.11(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_34
LBB0_30:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movl	$1, %ebx
	jmp	LBB0_34
LBB0_33:
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %ecx
	movl	-56(%rbp), %r8d
	leaq	L_.str.12(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_34:
	movl	%r14d, %edi
	callq	_close
LBB0_35:
	movl	%ebx, %eax
	addq	$56, %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_12, LBB0_12-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.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_13
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_9
	.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_10
	.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_11
	.end_data_region
                                        ## -- End function
	.comm	_CAM_BUS_WILDCARD,4,2           ## @CAM_BUS_WILDCARD
	.comm	_CAM_TARGET_WILDCARD,4,2        ## @CAM_TARGET_WILDCARD
	.comm	_CAM_LUN_WILDCARD,8,3           ## @CAM_LUN_WILDCARD
	.comm	_CAM_ARG_DEBUG_INFO,4,2         ## @CAM_ARG_DEBUG_INFO
	.comm	_arglist,4,2                    ## @arglist
	.comm	_CAM_DEBUG_INFO,8,3             ## @CAM_DEBUG_INFO
	.comm	_CAM_ARG_DEBUG_PERIPH,4,2       ## @CAM_ARG_DEBUG_PERIPH
	.comm	_CAM_DEBUG_PERIPH,8,3           ## @CAM_DEBUG_PERIPH
	.comm	_CAM_ARG_DEBUG_SUBTRACE,4,2     ## @CAM_ARG_DEBUG_SUBTRACE
	.comm	_CAM_DEBUG_SUBTRACE,8,3         ## @CAM_DEBUG_SUBTRACE
	.comm	_CAM_ARG_DEBUG_TRACE,4,2        ## @CAM_ARG_DEBUG_TRACE
	.comm	_CAM_DEBUG_TRACE,8,3            ## @CAM_DEBUG_TRACE
	.comm	_CAM_ARG_DEBUG_XPT,4,2          ## @CAM_ARG_DEBUG_XPT
	.comm	_CAM_DEBUG_XPT,8,3              ## @CAM_DEBUG_XPT
	.comm	_CAM_ARG_DEBUG_CDB,4,2          ## @CAM_ARG_DEBUG_CDB
	.comm	_CAM_DEBUG_CDB,8,3              ## @CAM_DEBUG_CDB
	.comm	_CAM_ARG_DEBUG_PROBE,4,2        ## @CAM_ARG_DEBUG_PROBE
	.comm	_CAM_DEBUG_PROBE,8,3            ## @CAM_DEBUG_PROBE
	.comm	_optind,8,3                     ## @optind
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"you must specify \"off\", \"all\" or a bus,"

L_.str.1:                               ## @.str.1
	.asciz	"bus:target, bus:target:lun or periph"

L_.str.2:                               ## @.str.2
	.asciz	"off"

	.comm	_CAM_DEBUG_NONE,8,3             ## @CAM_DEBUG_NONE
L_.str.3:                               ## @.str.3
	.asciz	"you must specify \"all\", \"off\", or a bus,"

L_.str.4:                               ## @.str.4
	.asciz	"bus:target, bus:target:lun or periph to debug"

	.comm	_XPT_DEVICE,4,2                 ## @XPT_DEVICE
	.comm	_O_RDWR,4,2                     ## @O_RDWR
L_.str.5:                               ## @.str.5
	.asciz	"error opening transport layer device %s"

L_.str.6:                               ## @.str.6
	.asciz	"%s"

	.comm	_XPT_DEBUG,4,2                  ## @XPT_DEBUG
	.comm	_CAMIOCOMMAND,4,2               ## @CAMIOCOMMAND
L_.str.7:                               ## @.str.7
	.asciz	"CAMIOCOMMAND ioctl failed"

	.comm	_CAM_STATUS_MASK,4,2            ## @CAM_STATUS_MASK
	.comm	_CAM_FUNC_NOTAVAIL,4,2          ## @CAM_FUNC_NOTAVAIL
L_.str.8:                               ## @.str.8
	.asciz	"CAM debugging not available"

L_.str.9:                               ## @.str.9
	.asciz	"you need to put options CAMDEBUG in your kernel config file!"

	.comm	_CAM_REQ_CMP,4,2                ## @CAM_REQ_CMP
L_.str.10:                              ## @.str.10
	.asciz	"XPT_DEBUG CCB failed with status %#x"

	.comm	_stderr,4,2                     ## @stderr
L_.str.11:                              ## @.str.11
	.asciz	"Debugging turned off\n"

L_.str.12:                              ## @.str.12
	.asciz	"Debugging enabled for %d:%d:%jx\n"

	.no_dead_strip	_camdebug
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function camdebug
_camdebug:                              ; @camdebug
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _CAM_BUS_WILDCARD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CAM_BUS_WILDCARD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #76]
Lloh3:
	adrp	x8, _CAM_TARGET_WILDCARD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CAM_TARGET_WILDCARD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #72]
Lloh6:
	adrp	x8, _CAM_LUN_WILDCARD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CAM_LUN_WILDCARD@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [sp, #64]
	add	x0, sp, #32
	mov	w1, #32
	bl	_bzero
Lloh9:
	adrp	x23, _CAM_ARG_DEBUG_PERIPH@GOTPAGE
Lloh10:
	ldr	x23, [x23, _CAM_ARG_DEBUG_PERIPH@GOTPAGEOFF]
Lloh11:
	adrp	x24, lJTI0_0@PAGE
Lloh12:
	add	x24, x24, lJTI0_0@PAGEOFF
Lloh13:
	adrp	x28, _CAM_ARG_DEBUG_INFO@GOTPAGE
Lloh14:
	ldr	x28, [x28, _CAM_ARG_DEBUG_INFO@GOTPAGEOFF]
Lloh15:
	adrp	x22, _arglist@GOTPAGE
Lloh16:
	ldr	x22, [x22, _arglist@GOTPAGEOFF]
Lloh17:
	adrp	x26, _CAM_ARG_DEBUG_SUBTRACE@GOTPAGE
Lloh18:
	ldr	x26, [x26, _CAM_ARG_DEBUG_SUBTRACE@GOTPAGEOFF]
Lloh19:
	adrp	x27, _CAM_ARG_DEBUG_TRACE@GOTPAGE
Lloh20:
	ldr	x27, [x27, _CAM_ARG_DEBUG_TRACE@GOTPAGEOFF]
Lloh21:
	adrp	x25, _CAM_ARG_DEBUG_CDB@GOTPAGE
Lloh22:
	ldr	x25, [x25, _CAM_ARG_DEBUG_CDB@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x28
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	sub	w8, w0, #73
	cmp	w8, #39
	b.hi	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x24, x8]
	add	x9, x9, x10, lsl #2
	mov	x8, x23
	br	x9
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x26
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x27
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh23:
	adrp	x8, _CAM_ARG_DEBUG_XPT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CAM_ARG_DEBUG_XPT@GOTPAGEOFF]
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x25
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh25:
	adrp	x8, _CAM_ARG_DEBUG_PROBE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CAM_ARG_DEBUG_PROBE@GOTPAGEOFF]
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	cmn	w0, #1
	b.ne	LBB0_3
; %bb.11:
Lloh27:
	adrp	x8, _optind@GOTPAGE
Lloh28:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	sub	w9, w20, w8
	cmp	w9, #0
	b.le	LBB0_18
; %bb.12:
	ldr	x19, [x19, x8, lsl #3]
	ldrsb	w0, [x19]
	bl	_isspace
	cbz	x0, LBB0_15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x19]
	cbz	w8, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldrsb	w0, [x19, #1]!
	bl	_isspace
	cbnz	x0, LBB0_13
LBB0_15:
Lloh30:
	adrp	x1, l_.str.2@PAGE
Lloh31:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #3
	bl	_strncmp
	cbz	x0, LBB0_20
; %bb.16:
Lloh32:
	adrp	x4, _arglist@GOTPAGE
Lloh33:
	ldr	x4, [x4, _arglist@GOTPAGEOFF]
	add	x1, sp, #76
	add	x2, sp, #72
	add	x3, sp, #64
	mov	x0, x19
	bl	_parse_btl
	cmp	w0, #0
	b.gt	LBB0_21
; %bb.17:
Lloh34:
	adrp	x0, l_.str.3@PAGE
Lloh35:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_warnx
Lloh36:
	adrp	x0, l_.str.4@PAGE
Lloh37:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_19
LBB0_18:
Lloh38:
	adrp	x0, l_.str@PAGE
Lloh39:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
Lloh40:
	adrp	x0, l_.str.1@PAGE
Lloh41:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_19:
	bl	_warnx
	mov	w20, #1
	b	LBB0_35
LBB0_20:
	ldr	w8, [x28]
	ldr	w9, [x23]
	orr	w8, w9, w8
	ldr	w9, [x27]
	orr	w8, w8, w9
	ldr	w9, [x26]
	orr	w8, w8, w9
Lloh42:
	adrp	x9, _CAM_ARG_DEBUG_XPT@GOTPAGE
Lloh43:
	ldr	x9, [x9, _CAM_ARG_DEBUG_XPT@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh45:
	adrp	x9, _CAM_ARG_DEBUG_PROBE@GOTPAGE
Lloh46:
	ldr	x9, [x9, _CAM_ARG_DEBUG_PROBE@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x22]
	bic	w8, w9, w8
	str	w8, [x22]
LBB0_21:
Lloh48:
	adrp	x20, _XPT_DEVICE@GOTPAGE
Lloh49:
	ldr	x20, [x20, _XPT_DEVICE@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh50:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh51:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	bl	_open
	tbnz	w0, #31, LBB0_25
; %bb.22:
	mov	x19, x0
Lloh53:
	adrp	x8, _XPT_DEBUG@GOTPAGE
Lloh54:
	ldr	x8, [x8, _XPT_DEBUG@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	str	w8, [sp, #56]
	ldp	w9, w8, [sp, #72]
	stp	w8, w9, [sp, #32]
	ldr	x8, [sp, #64]
	str	x8, [sp, #48]
Lloh56:
	adrp	x8, _CAMIOCOMMAND@GOTPAGE
Lloh57:
	ldr	x8, [x8, _CAMIOCOMMAND@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
	add	x2, sp, #32
	bl	_ioctl
	cmn	w0, #1
	b.eq	LBB0_26
; %bb.23:
	ldr	w8, [sp, #40]
Lloh59:
	adrp	x9, _CAM_STATUS_MASK@GOTPAGE
Lloh60:
	ldr	x9, [x9, _CAM_STATUS_MASK@GOTPAGEOFF]
Lloh61:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh62:
	adrp	x10, _CAM_FUNC_NOTAVAIL@GOTPAGE
Lloh63:
	ldr	x10, [x10, _CAM_FUNC_NOTAVAIL@GOTPAGEOFF]
Lloh64:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_27
; %bb.24:
Lloh65:
	adrp	x0, l_.str.8@PAGE
Lloh66:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_warnx
Lloh67:
	adrp	x0, l_.str.9@PAGE
Lloh68:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_31
LBB0_25:
	ldr	w8, [x20]
	str	x8, [sp]
Lloh69:
	adrp	x0, l_.str.5@PAGE
Lloh70:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_warnx
	ldr	w8, [x20]
	str	x8, [sp]
Lloh71:
	adrp	x0, l_.str.6@PAGE
Lloh72:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_warn
	mov	w20, #1
	b	LBB0_35
LBB0_26:
Lloh73:
	adrp	x0, l_.str.7@PAGE
Lloh74:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_warn
	mov	w20, #1
	b	LBB0_34
LBB0_27:
Lloh75:
	adrp	x10, _CAM_REQ_CMP@GOTPAGE
Lloh76:
	ldr	x10, [x10, _CAM_REQ_CMP@GOTPAGEOFF]
Lloh77:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_30
; %bb.28:
Lloh78:
	adrp	x8, _CAM_DEBUG_NONE@GOTPAGE
Lloh79:
	ldr	x8, [x8, _CAM_DEBUG_NONE@GOTPAGEOFF]
	ldr	x9, [sp, #32]
Lloh80:
	ldr	x8, [x8]
Lloh81:
	adrp	x10, _stderr@GOTPAGE
Lloh82:
	ldr	x10, [x10, _stderr@GOTPAGEOFF]
Lloh83:
	ldr	w0, [x10]
	cmp	x9, x8
	b.ne	LBB0_32
; %bb.29:
Lloh84:
	adrp	x1, l_.str.11@PAGE
Lloh85:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_33
LBB0_30:
	str	x8, [sp]
Lloh86:
	adrp	x0, l_.str.10@PAGE
Lloh87:
	add	x0, x0, l_.str.10@PAGEOFF
LBB0_31:
	bl	_warnx
	mov	w20, #1
	b	LBB0_34
LBB0_32:
	ldr	x8, [sp, #64]
	ldp	w10, w9, [sp, #72]
	stp	x10, x8, [sp, #8]
	str	x9, [sp]
Lloh88:
	adrp	x1, l_.str.12@PAGE
Lloh89:
	add	x1, x1, l_.str.12@PAGEOFF
LBB0_33:
	bl	_fprintf
	mov	w20, #0
LBB0_34:
	mov	x0, x19
	bl	_close
LBB0_35:
	mov	x0, x20
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh88, Lloh89
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
                                        ; -- End function
	.comm	_CAM_BUS_WILDCARD,4,2           ; @CAM_BUS_WILDCARD
	.comm	_CAM_TARGET_WILDCARD,4,2        ; @CAM_TARGET_WILDCARD
	.comm	_CAM_LUN_WILDCARD,8,3           ; @CAM_LUN_WILDCARD
	.comm	_CAM_ARG_DEBUG_INFO,4,2         ; @CAM_ARG_DEBUG_INFO
	.comm	_arglist,4,2                    ; @arglist
	.comm	_CAM_DEBUG_INFO,8,3             ; @CAM_DEBUG_INFO
	.comm	_CAM_ARG_DEBUG_PERIPH,4,2       ; @CAM_ARG_DEBUG_PERIPH
	.comm	_CAM_DEBUG_PERIPH,8,3           ; @CAM_DEBUG_PERIPH
	.comm	_CAM_ARG_DEBUG_SUBTRACE,4,2     ; @CAM_ARG_DEBUG_SUBTRACE
	.comm	_CAM_DEBUG_SUBTRACE,8,3         ; @CAM_DEBUG_SUBTRACE
	.comm	_CAM_ARG_DEBUG_TRACE,4,2        ; @CAM_ARG_DEBUG_TRACE
	.comm	_CAM_DEBUG_TRACE,8,3            ; @CAM_DEBUG_TRACE
	.comm	_CAM_ARG_DEBUG_XPT,4,2          ; @CAM_ARG_DEBUG_XPT
	.comm	_CAM_DEBUG_XPT,8,3              ; @CAM_DEBUG_XPT
	.comm	_CAM_ARG_DEBUG_CDB,4,2          ; @CAM_ARG_DEBUG_CDB
	.comm	_CAM_DEBUG_CDB,8,3              ; @CAM_DEBUG_CDB
	.comm	_CAM_ARG_DEBUG_PROBE,4,2        ; @CAM_ARG_DEBUG_PROBE
	.comm	_CAM_DEBUG_PROBE,8,3            ; @CAM_DEBUG_PROBE
	.comm	_optind,8,3                     ; @optind
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"you must specify \"off\", \"all\" or a bus,"

l_.str.1:                               ; @.str.1
	.asciz	"bus:target, bus:target:lun or periph"

l_.str.2:                               ; @.str.2
	.asciz	"off"

	.comm	_CAM_DEBUG_NONE,8,3             ; @CAM_DEBUG_NONE
l_.str.3:                               ; @.str.3
	.asciz	"you must specify \"all\", \"off\", or a bus,"

l_.str.4:                               ; @.str.4
	.asciz	"bus:target, bus:target:lun or periph to debug"

	.comm	_XPT_DEVICE,4,2                 ; @XPT_DEVICE
	.comm	_O_RDWR,4,2                     ; @O_RDWR
l_.str.5:                               ; @.str.5
	.asciz	"error opening transport layer device %s"

l_.str.6:                               ; @.str.6
	.asciz	"%s"

	.comm	_XPT_DEBUG,4,2                  ; @XPT_DEBUG
	.comm	_CAMIOCOMMAND,4,2               ; @CAMIOCOMMAND
l_.str.7:                               ; @.str.7
	.asciz	"CAMIOCOMMAND ioctl failed"

	.comm	_CAM_STATUS_MASK,4,2            ; @CAM_STATUS_MASK
	.comm	_CAM_FUNC_NOTAVAIL,4,2          ; @CAM_FUNC_NOTAVAIL
l_.str.8:                               ; @.str.8
	.asciz	"CAM debugging not available"

l_.str.9:                               ; @.str.9
	.asciz	"you need to put options CAMDEBUG in your kernel config file!"

	.comm	_CAM_REQ_CMP,4,2                ; @CAM_REQ_CMP
l_.str.10:                              ; @.str.10
	.asciz	"XPT_DEBUG CCB failed with status %#x"

	.comm	_stderr,4,2                     ; @stderr
l_.str.11:                              ; @.str.11
	.asciz	"Debugging turned off\n"

l_.str.12:                              ; @.str.12
	.asciz	"Debugging enabled for %d:%d:%jx\n"

	.no_dead_strip	_camdebug
.subsections_via_symbols
