	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_backend_state
_set_backend_state:                     ## @set_backend_state
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	cmpl	%esi, %eax
	jne	LBB0_1
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %r15
	leal	-129(%r14), %r12d
	leal	-131(%r14), %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_BUG
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %eax
	cmpl	%r14d, %eax
	je	LBB0_20
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_18
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r15,%rax,4), %rax
	addq	%r15, %rax
	jmpq	*%rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$3, %r12d
	jb	LBB0_21
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$132, %r14d
	je	LBB0_6
	jmp	LBB0_18
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %r13d
	jb	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$130, %r14d
	jne	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_backend_connect
	movq	%rbx, %rdi
	movl	$130, %esi
	callq	_backend_switch_state
	jmp	LBB0_19
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$3, %r12d
	ja	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, %r12d
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_backend_disconnect
	jmp	LBB0_9
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$3, %r12d
	ja	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %r12d
	je	LBB0_18
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	$132, %esi
	callq	_backend_switch_state
	jmp	LBB0_19
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %r12d
	jae	LBB0_8
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	$129, %esi
	callq	_backend_switch_state
	jmp	LBB0_19
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$131, %r14d
	jne	LBB0_18
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	$131, %esi
	callq	_backend_switch_state
	jmp	LBB0_19
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_16
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_set_backend_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_backend_state
_set_backend_state:                     ; @set_backend_state
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	w8, [x0]
	cmp	w8, w1
	b.ne	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, lJTI0_0@PAGE
Lloh1:
	add	x21, x21, lJTI0_0@PAGEOFF
	sub	w22, w1, #129
	sub	w23, w1, #131
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_BUG
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x20]
	cmp	w8, w19
	b.eq	LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	adr	x9, LBB0_7
	ldrb	w10, [x21, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w22, #3
	b.lo	LBB0_19
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w19, #132
	b.eq	LBB0_17
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, #2
	b.lo	LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w19, #130
	b.ne	LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_backend_connect
	mov	x0, x20
	mov	w1, #130
	bl	_backend_switch_state
	b	LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w22, #3
	b.hi	LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w22, #1
	b.eq	LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_backend_disconnect
	b	LBB0_21
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w22, #3
	b.hi	LBB0_3
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w22, #2
	b.eq	LBB0_3
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	w1, #132
	bl	_backend_switch_state
	b	LBB0_4
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w22, #2
	b.hs	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	w1, #129
	bl	_backend_switch_state
	b	LBB0_4
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w19, #131
	b.ne	LBB0_3
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	w1, #131
	bl	_backend_switch_state
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_12-LBB0_7)>>2
	.byte	(LBB0_15-LBB0_7)>>2
	.byte	(LBB0_18-LBB0_7)>>2
                                        ; -- End function
	.no_dead_strip	_set_backend_state
.subsections_via_symbols
