	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function to_ib_state_str
_to_ib_state_str:                       ## @to_ib_state_str
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IB_QPS_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.7(%rip), %rax
	cmpl	%edi, %ecx
	jg	LBB0_3
## %bb.1:
	movq	_IB_QPS_ERR@GOTPCREL(%rip), %rdx
	cmpl	%edi, (%rdx)
	jl	LBB0_3
## %bb.2:
	subl	%ecx, %edi
	movslq	%edi, %rax
	leaq	_reltable.to_ib_state_str(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.to_ib_state_str
_reltable.to_ib_state_str:
	.long	L_.str-_reltable.to_ib_state_str
	.long	L_.str.1-_reltable.to_ib_state_str
	.long	L_.str.2-_reltable.to_ib_state_str
	.long	L_.str.3-_reltable.to_ib_state_str
	.long	L_.str.4-_reltable.to_ib_state_str
	.long	L_.str.5-_reltable.to_ib_state_str
	.long	L_.str.6-_reltable.to_ib_state_str

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IB_QPS_RESET"

L_.str.1:                               ## @.str.1
	.asciz	"IB_QPS_INIT"

L_.str.2:                               ## @.str.2
	.asciz	"IB_QPS_RTR"

L_.str.3:                               ## @.str.3
	.asciz	"IB_QPS_RTS"

L_.str.4:                               ## @.str.4
	.asciz	"IB_QPS_SQD"

L_.str.5:                               ## @.str.5
	.asciz	"IB_QPS_SQE"

L_.str.6:                               ## @.str.6
	.asciz	"IB_QPS_ERR"

	.comm	_IB_QPS_RESET,4,2               ## @IB_QPS_RESET
	.comm	_IB_QPS_ERR,4,2                 ## @IB_QPS_ERR
L_.str.7:                               ## @.str.7
	.asciz	"<invalid IB QP state>"

	.no_dead_strip	_to_ib_state_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function to_ib_state_str
_to_ib_state_str:                       ; @to_ib_state_str
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IB_QPS_RESET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_QPS_RESET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IB_QPS_ERR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_QPS_ERR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w0
	ccmp	w9, w0, #8, le
	b.ge	LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str.7@PAGE
Lloh7:
	add	x0, x0, l_.str.7@PAGEOFF
	ret
LBB0_2:
	sub	w8, w0, w8
Lloh8:
	adrp	x9, _to_ib_state_str.state_str@PAGE
Lloh9:
	add	x9, x9, _to_ib_state_str.state_str@PAGEOFF
	ldr	x0, [x9, w8, sxtw #3]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @to_ib_state_str.state_str
_to_ib_state_str.state_str:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	l_.str.6

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IB_QPS_RESET"

l_.str.1:                               ; @.str.1
	.asciz	"IB_QPS_INIT"

l_.str.2:                               ; @.str.2
	.asciz	"IB_QPS_RTR"

l_.str.3:                               ; @.str.3
	.asciz	"IB_QPS_RTS"

l_.str.4:                               ; @.str.4
	.asciz	"IB_QPS_SQD"

l_.str.5:                               ; @.str.5
	.asciz	"IB_QPS_SQE"

l_.str.6:                               ; @.str.6
	.asciz	"IB_QPS_ERR"

	.comm	_IB_QPS_RESET,4,2               ; @IB_QPS_RESET
	.comm	_IB_QPS_ERR,4,2                 ; @IB_QPS_ERR
l_.str.7:                               ; @.str.7
	.asciz	"<invalid IB QP state>"

	.no_dead_strip	_to_ib_state_str
.subsections_via_symbols
