	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xsigo_chassisguid
_xsigo_chassisguid:                     ## @xsigo_chassisguid
	.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	%rdi, %r15
	movl	8(%rdi), %edi
	movq	_IB_NODE_SYSTEM_GUID_F@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_mad_get_field64
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_is_xsigo_ca
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	(%rax), %rax
	movl	%r14d, %ebx
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	(%rax), %rax
	movl	(%rax), %edi
	movl	(%r12), %edx
	xorl	%esi, %esi
	callq	_mad_get_field64
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_is_xsigo_leafone
	jmp	LBB0_6
LBB0_1:
	movl	%r14d, %edi
	callq	_is_xsigo_switch
	movl	%r14d, %ebx
LBB0_6:
	andl	$16777215, %ebx                 ## imm = 0xFFFFFF
	testq	%rax, %rax
	cmovel	%r14d, %ebx
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_NODE_SYSTEM_GUID_F,4,2      ## @IB_NODE_SYSTEM_GUID_F
	.no_dead_strip	_xsigo_chassisguid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xsigo_chassisguid
_xsigo_chassisguid:                     ; @xsigo_chassisguid
	.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	x20, x0
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x21, _IB_NODE_SYSTEM_GUID_F@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IB_NODE_SYSTEM_GUID_F@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_mad_get_field64
	mov	x19, x0
	bl	_is_xsigo_ca
	cbz	w0, LBB0_5
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_7
; %bb.3:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.4:
	ldr	x8, [x8]
	ldr	w0, [x8]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_mad_get_field64
	mov	x20, x0
	bl	_is_xsigo_leafone
	and	w8, w20, #0xffffff
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_is_xsigo_switch
	and	w8, w19, #0xffffff
LBB0_6:
	cmp	x0, #0
	csel	w19, w19, w8, eq
	b	LBB0_8
LBB0_7:
	mov	w19, #0
LBB0_8:
	mov	x0, x19
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_NODE_SYSTEM_GUID_F,4,2      ; @IB_NODE_SYSTEM_GUID_F
	.no_dead_strip	_xsigo_chassisguid
.subsections_via_symbols
