	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sbp2_sysfs_ieee1394_id_show
_sbp2_sysfs_ieee1394_id_show:           ## @sbp2_sysfs_ieee1394_id_show
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	callq	_to_scsi_device
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	_sbp2_long_sysfs_ieee1394_id@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	$0, (%rcx)
	setne	%dl
	movq	16(%rax), %rcx
	movq	(%rcx), %r14
	movq	8(%rax), %rcx
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str(%rip), %rbx
	cmoveq	%rsi, %rbx
	movl	(%rcx,%rdx,4), %r12d
	movl	(%rax), %edi
	callq	_ORB_SET_LUN
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sbp2_long_sysfs_ieee1394_id,8,3 ## @sbp2_long_sysfs_ieee1394_id
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%016Lx:%06x:%04x\n"

L_.str.1:                               ## @.str.1
	.asciz	"%016Lx:%d:%d\n"

	.no_dead_strip	_sbp2_sysfs_ieee1394_id_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sbp2_sysfs_ieee1394_id_show
_sbp2_sysfs_ieee1394_id_show:           ; @sbp2_sysfs_ieee1394_id_show
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	bl	_to_scsi_device
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x9, _sbp2_long_sysfs_ieee1394_id@GOTPAGE
Lloh1:
	ldr	x9, [x9, _sbp2_long_sysfs_ieee1394_id@GOTPAGEOFF]
Lloh2:
	adrp	x10, l_.str@PAGE
Lloh3:
	add	x10, x10, l_.str@PAGEOFF
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x11, l_.str.1@PAGE
Lloh6:
	add	x11, x11, l_.str.1@PAGEOFF
	cmp	x9, #0
	csel	x20, x11, x10, eq
	cset	w9, ne
	ldp	x11, x10, [x8, #8]
	ldr	x21, [x10]
	ldr	w22, [x11, w9, uxtw #2]
	ldr	w0, [x8]
	bl	_ORB_SET_LUN
	mov	x4, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sprintf
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_sbp2_long_sysfs_ieee1394_id,8,3 ; @sbp2_long_sysfs_ieee1394_id
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%016Lx:%06x:%04x\n"

l_.str.1:                               ; @.str.1
	.asciz	"%016Lx:%d:%d\n"

	.no_dead_strip	_sbp2_sysfs_ieee1394_id_show
.subsections_via_symbols
