	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_state_bolt
_update_state_bolt:                     ## @update_state_bolt
	.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
	movl	%esi, %r14d
	movq	_boltmap@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_pgm_read_byte
	movq	%rax, %rbx
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movq	_state@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%rbx, %rdi
	callq	_TXB_GET_GROUP
	orq	%rbx, (%r14,%rax,8)
	movq	_chord@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%rbx, %rdi
	callq	_TXB_GET_GROUP
	orq	%rbx, (%r14,%rax,8)
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %r14
	notq	%r14
	movq	_state@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%rbx, %rdi
	callq	_TXB_GET_GROUP
	andq	%r14, (%r15,%rax,8)
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_boltmap,8,3                    ## @boltmap
	.comm	_state,8,3                      ## @state
	.comm	_chord,8,3                      ## @chord
	.no_dead_strip	_update_state_bolt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_state_bolt
_update_state_bolt:                     ; @update_state_bolt
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
Lloh0:
	adrp	x8, _boltmap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _boltmap@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x0, x8, x0
	bl	_pgm_read_byte
	mov	x19, x0
Lloh3:
	adrp	x8, _state@GOTPAGE
Lloh4:
	ldr	x8, [x8, _state@GOTPAGEOFF]
	cbz	w20, LBB0_2
; %bb.1:
	ldr	x20, [x8]
	mov	x0, x19
	bl	_TXB_GET_GROUP
	lsl	x8, x0, #3
	ldr	x9, [x20, x8]
	orr	x9, x9, x19
	str	x9, [x20, x8]
Lloh5:
	adrp	x8, _chord@GOTPAGE
Lloh6:
	ldr	x8, [x8, _chord@GOTPAGEOFF]
Lloh7:
	ldr	x20, [x8]
	mov	x0, x19
	bl	_TXB_GET_GROUP
	lsl	x8, x0, #3
	ldr	x9, [x20, x8]
	orr	x9, x9, x19
	b	LBB0_3
LBB0_2:
	ldr	x20, [x8]
	mov	x0, x19
	bl	_TXB_GET_GROUP
	lsl	x8, x0, #3
	ldr	x9, [x20, x8]
	bic	x9, x9, x19
LBB0_3:
	str	x9, [x20, x8]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_boltmap,8,3                    ; @boltmap
	.comm	_state,8,3                      ; @state
	.comm	_chord,8,3                      ; @chord
	.no_dead_strip	_update_state_bolt
.subsections_via_symbols
