	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_ib_type
_is_ib_type:                            ## @is_ib_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -24
	movq	%rdi, %r8
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	_SYS_INFINIBAND@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str(%rip), %rdx
	leaq	-272(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_snprintf
	movq	_SYS_NODE_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-276(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sys_read_uint
	testq	%rax, %rax
	setns	%al
	movl	-276(%rbp), %ecx
	decl	%ecx
	cmpl	$3, %ecx
	setb	%cl
	movq	___stack_chk_guard@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	-16(%rbp), %rdx
	jne	LBB0_2
## %bb.1:
	andb	%cl, %al
	movzbl	%al, %eax
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%s"

	.comm	_SYS_INFINIBAND,8,3             ## @SYS_INFINIBAND
	.comm	_SYS_NODE_TYPE,4,2              ## @SYS_NODE_TYPE
	.no_dead_strip	_is_ib_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_ib_type
_is_ib_type:                            ; @is_ib_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w27, -24
	.cfi_offset w28, -32
	mov	x4, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _SYS_INFINIBAND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SYS_INFINIBAND@GOTPAGEOFF]
Lloh5:
	ldr	x3, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #256
	bl	_snprintf
Lloh8:
	adrp	x8, _SYS_NODE_TYPE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SYS_NODE_TYPE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x0, sp, #8
	add	x2, sp, #4
	bl	_sys_read_uint
	ldr	w8, [sp, #4]
	sub	w8, w8, #1
	cmp	x0, #0
	ccmp	w8, #3, #2, ge
	cset	w0, lo
	ldur	x8, [x29, #-24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%s"

	.comm	_SYS_INFINIBAND,8,3             ; @SYS_INFINIBAND
	.comm	_SYS_NODE_TYPE,4,2              ; @SYS_NODE_TYPE
	.no_dead_strip	_is_ib_type
.subsections_via_symbols
