	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_set_state                   ## -- Begin function hb_set_state
	.p2align	4, 0x90
_hb_set_state:                          ## @hb_set_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_hb_lock
	movl	4(%rbx), %edi
	callq	_hb_lock
	leaq	16(%rbx), %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	16(%rbx), %rax
	movq	_HB_STATE_WORKING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_HB_STATE_SEARCHING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_2:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
LBB0_4:
	movl	4(%rbx), %edi
	callq	_hb_unlock
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_hb_unlock                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HB_STATE_WORKING,8,3           ## @HB_STATE_WORKING
	.comm	_HB_STATE_SEARCHING,8,3         ## @HB_STATE_SEARCHING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_set_state                   ; -- Begin function hb_set_state
	.p2align	2
_hb_set_state:                          ; @hb_set_state
	.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
	mov	x19, x0
	ldr	w0, [x0]
	bl	_hb_lock
	ldr	w0, [x19, #4]
	bl	_hb_lock
	add	x0, x19, #16
	mov	x1, x20
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x19, #16]
Lloh0:
	adrp	x9, _HB_STATE_WORKING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HB_STATE_WORKING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _HB_STATE_SEARCHING@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HB_STATE_SEARCHING@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w8, [x8]
	str	w8, [x19, #24]
LBB0_3:
	ldr	w0, [x19, #4]
	bl	_hb_unlock
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hb_unlock
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HB_STATE_WORKING,8,3           ; @HB_STATE_WORKING
	.comm	_HB_STATE_SEARCHING,8,3         ; @HB_STATE_SEARCHING
.subsections_via_symbols
