	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_chassisguid
_get_chassisguid:                       ## @get_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	(%rdi), %edi
	movq	_IB_NODE_VENDORID_F@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_mad_get_field
	movq	%rax, %rbx
	movl	(%r15), %edi
	movq	_IB_NODE_SYSTEM_GUID_F@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_mad_get_field64
	movl	%eax, %r14d
	movq	_TS_VENDOR_ID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_5
## %bb.1:
	movq	_SS_VENDOR_ID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_5
## %bb.2:
	movq	_XS_VENDOR_ID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_6
## %bb.3:
	movl	%r14d, %edi
	callq	_ibnd_is_xsigo_guid
	testq	%rax, %rax
	je	LBB0_4
LBB0_6:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xsigo_chassisguid              ## TAILCALL
LBB0_5:
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_topspin_chassisguid            ## TAILCALL
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_NODE_VENDORID_F,4,2         ## @IB_NODE_VENDORID_F
	.comm	_IB_NODE_SYSTEM_GUID_F,4,2      ## @IB_NODE_SYSTEM_GUID_F
	.comm	_TS_VENDOR_ID,8,3               ## @TS_VENDOR_ID
	.comm	_SS_VENDOR_ID,8,3               ## @SS_VENDOR_ID
	.comm	_XS_VENDOR_ID,8,3               ## @XS_VENDOR_ID
	.no_dead_strip	_get_chassisguid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_chassisguid
_get_chassisguid:                       ; @get_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	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _IB_NODE_VENDORID_F@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_NODE_VENDORID_F@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_mad_get_field
	mov	x21, x0
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _IB_NODE_SYSTEM_GUID_F@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_NODE_SYSTEM_GUID_F@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_mad_get_field64
	mov	x20, x0
Lloh6:
	adrp	x8, _TS_VENDOR_ID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TS_VENDOR_ID@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _SS_VENDOR_ID@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SS_VENDOR_ID@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x21, x8
	ccmp	x21, x9, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	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	_topspin_chassisguid
LBB0_2:
Lloh12:
	adrp	x8, _XS_VENDOR_ID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XS_VENDOR_ID@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x21, x8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_ibnd_is_xsigo_guid
	cbz	x0, LBB0_5
LBB0_4:
	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
	b	_xsigo_chassisguid
LBB0_5:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_NODE_VENDORID_F,4,2         ; @IB_NODE_VENDORID_F
	.comm	_IB_NODE_SYSTEM_GUID_F,4,2      ; @IB_NODE_SYSTEM_GUID_F
	.comm	_TS_VENDOR_ID,8,3               ; @TS_VENDOR_ID
	.comm	_SS_VENDOR_ID,8,3               ; @SS_VENDOR_ID
	.comm	_XS_VENDOR_ID,8,3               ; @XS_VENDOR_ID
	.no_dead_strip	_get_chassisguid
.subsections_via_symbols
