	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_ifthen_state
_find_ifthen_state:                     ## @find_ifthen_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_ifthen_address@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	movq	_ifthen_state@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	xorl	%r15d, %r15d
	movl	$1, %r13d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	*8(%r12)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	addq	$-2, %rbx
	movq	%rbx, %rdi
	leaq	-42(%rbp), %rsi
	movl	$2, %edx
	movq	%r12, %rcx
	callq	*(%r12)
	testl	%eax, %eax
	jne	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	movzbl	-42(%rbp), %edi
	movzbl	-41(%rbp), %eax
	movl	%eax, %esi
	cmovel	%edi, %esi
	cmovel	%eax, %edi
	movzbl	%sil, %ecx
	shll	$8, %ecx
	movl	%ecx, %r9d
	andl	$63488, %r9d                    ## imm = 0xF800
	xorl	%r8d, %r8d
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$59391, %r9d                    ## imm = 0xE7FF
	ja	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	testb	$1, %r13b
	je	LBB0_11
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %r8d
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movzbl	%dil, %edi
	orl	%edi, %ecx
	cmpb	$-65, %sil
	setne	%dl
	testb	$15, %dil
	sete	%al
	orb	%dl, %al
	movl	%r13d, %edx
	sarl	%edx
	testb	%al, %al
	cmovel	%edx, %r15d
	movl	%ecx, %r14d
	cmovnel	%r8d, %r14d
	leal	1(%r13), %eax
	addl	$2, %r13d
	orl	$1, %r13d
	cmpl	$59392, %r9d                    ## imm = 0xE800
	cmovael	%eax, %r13d
	cmpl	$8, %r13d
	jl	LBB0_1
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	testl	%r14d, %r14d
	jne	LBB0_1
	jmp	LBB0_13
LBB0_3:
	testl	%r14d, %r14d
	je	LBB0_13
## %bb.4:
	andl	$1, %r13d
	je	LBB0_13
LBB0_5:
	movl	%r14d, %eax
	movl	%r15d, %ecx
	shll	%cl, %r14d
	andl	$224, %eax
	movl	%r14d, %ecx
	andl	$31, %ecx
	orl	%eax, %ecx
	andl	$15, %r14d
	cmovnel	%ecx, %r14d
	movq	_ifthen_state@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ifthen_address,8,3             ## @ifthen_address
	.comm	_ifthen_state,4,2               ## @ifthen_state
	.no_dead_strip	_find_ifthen_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_ifthen_state
_find_ifthen_state:                     ; @find_ifthen_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w23, #0
	mov	w25, #0
	mov	w24, #1
Lloh0:
	adrp	x8, _ifthen_address@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ifthen_address@GOTPAGEOFF]
Lloh2:
	str	x0, [x8]
Lloh3:
	adrp	x22, _ifthen_state@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ifthen_state@GOTPAGEOFF]
	str	wzr, [x22]
	mov	w26, #191
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	and	w10, w10, #0xff
	tst	w10, #0xf
	bfi	w10, w9, #8, #8
	ccmp	w9, w26, #0, ne
	asr	w9, w24, #1
	csel	w23, w23, w9, ne
	csel	w25, w25, w10, ne
	add	w9, w24, #2
	orr	w9, w9, #0x1
	cmp	w8, #28
	csinc	w24, w9, w24, ls
	cmp	w24, #8
	ccmp	w25, #0, #0, ge
	b.eq	LBB0_12
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x21, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20, #8]
	mov	x0, x21
	mov	x1, x20
	blr	x8
	cbnz	x0, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x21, x21, #2
	ldr	x8, [x20]
	add	x1, sp, #14
	mov	x0, x21
	mov	w2, #2
	mov	x3, x20
	blr	x8
	cbnz	w0, LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [sp, #15]
	ldrb	w9, [sp, #14]
	cmp	x19, #0
	csel	w11, w9, w8, eq
	csel	w10, w8, w9, eq
	and	w9, w11, #0xff
	lsl	w8, w9, #8
	and	w8, w8, #0xf800
	lsr	w8, w8, #11
	cbz	w25, LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, #28
	b.hi	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	tbnz	w24, #0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w25, #0
	b	LBB0_1
LBB0_9:
	cbz	w25, LBB0_12
; %bb.10:
	tbz	w24, #0, LBB0_12
LBB0_11:
	and	w8, w25, #0xe0
	lsl	w9, w25, w23
	bfxil	w8, w9, #0, #5
	tst	w9, #0xf
	csel	w8, wzr, w8, eq
	str	w8, [x22]
LBB0_12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ifthen_address,8,3             ; @ifthen_address
	.comm	_ifthen_state,4,2               ; @ifthen_state
	.no_dead_strip	_find_ifthen_state
.subsections_via_symbols
