	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ibnd_get_chassis_slot_str      ## -- Begin function ibnd_get_chassis_slot_str
	.p2align	4, 0x90
_ibnd_get_chassis_slot_str:             ## @ibnd_get_chassis_slot_str
	.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
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	20(%rdi), %edi
	movq	_IB_NODE_VENDORID_F@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	callq	_mad_get_field
	movq	_VTR_VENDOR_ID@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_3
## %bb.2:
	movq	_MLX_VENDOR_ID@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
LBB0_3:
	cmpl	$0, 16(%rbx)
	je	LBB0_9
## %bb.4:
	xorl	%r12d, %r12d
	testq	%r15, %r15
	je	LBB0_10
## %bb.5:
	movq	(%rbx), %rax
	movq	_UNRESOLVED_CS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.6:
	movq	_SRBD_CS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	ja	LBB0_10
## %bb.7:
	movq	_ChassisSlotTypeStr@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rcx
	movl	8(%rbx), %r8d
	movl	12(%rbx), %r9d
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_snprintf
	movq	%r15, %r12
	jmp	LBB0_10
LBB0_8:
	leaq	L_.str(%rip), %rdi
	callq	_IBND_DEBUG
LBB0_9:
	xorl	%r12d, %r12d
LBB0_10:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"node parameter NULL\n"

	.comm	_IB_NODE_VENDORID_F,4,2         ## @IB_NODE_VENDORID_F
	.comm	_VTR_VENDOR_ID,4,2              ## @VTR_VENDOR_ID
	.comm	_MLX_VENDOR_ID,4,2              ## @MLX_VENDOR_ID
	.comm	_UNRESOLVED_CS,8,3              ## @UNRESOLVED_CS
	.comm	_SRBD_CS,8,3                    ## @SRBD_CS
L_.str.1:                               ## @.str.1
	.asciz	"%s %d Chip %d"

	.comm	_ChassisSlotTypeStr,8,3         ## @ChassisSlotTypeStr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ibnd_get_chassis_slot_str      ; -- Begin function ibnd_get_chassis_slot_str
	.p2align	2
_ibnd_get_chassis_slot_str:             ; @ibnd_get_chassis_slot_str
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w0, [x0, #20]
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
Lloh3:
	adrp	x8, _VTR_VENDOR_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VTR_VENDOR_ID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MLX_VENDOR_ID@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MLX_VENDOR_ID@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_7
; %bb.2:
	ldr	w8, [x21, #16]
	cbz	w8, LBB0_7
; %bb.3:
	mov	x0, #0
	cbz	x19, LBB0_8
; %bb.4:
	ldr	x8, [x21]
Lloh9:
	adrp	x9, _UNRESOLVED_CS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _UNRESOLVED_CS@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _SRBD_CS@GOTPAGE
Lloh13:
	ldr	x10, [x10, _SRBD_CS@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #2, ne
	b.hi	LBB0_8
; %bb.5:
Lloh15:
	adrp	x9, _ChassisSlotTypeStr@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ChassisSlotTypeStr@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ldr	x3, [x9, x8, lsl #3]
	ldp	w4, w5, [x21, #8]
Lloh18:
	adrp	x2, l_.str.1@PAGE
Lloh19:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_snprintf
	mov	x0, x19
	b	LBB0_8
LBB0_6:
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IBND_DEBUG
LBB0_7:
	mov	x0, #0
LBB0_8:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"node parameter NULL\n"

	.comm	_IB_NODE_VENDORID_F,4,2         ; @IB_NODE_VENDORID_F
	.comm	_VTR_VENDOR_ID,4,2              ; @VTR_VENDOR_ID
	.comm	_MLX_VENDOR_ID,4,2              ; @MLX_VENDOR_ID
	.comm	_UNRESOLVED_CS,8,3              ; @UNRESOLVED_CS
	.comm	_SRBD_CS,8,3                    ; @SRBD_CS
l_.str.1:                               ; @.str.1
	.asciz	"%s %d Chip %d"

	.comm	_ChassisSlotTypeStr,8,3         ; @ChassisSlotTypeStr
.subsections_via_symbols
