	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wxh_to_mode
_wxh_to_mode:                           ## @wxh_to_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	leal	-1(%rcx), %eax
	cmpl	$2, %ecx
	jl	LBB0_5
## %bb.1:
	movq	8(%rdi), %rcx
	movl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	-1(%rax), %rdi
	cmpq	$1, %rax
	movq	%rdi, %rax
	jle	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, (%rcx,%rax,8)
	jg	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%edx, 4(%rcx,%rax,8)
	jg	LBB0_2
LBB0_5:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wxh_to_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wxh_to_mode
_wxh_to_mode:                           ; @wxh_to_mode
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	w9, [x0]
	sub	w0, w9, #1
	cmp	w9, #2
	b.lt	LBB0_5
; %bb.1:
	ldr	x8, [x8, #8]
	add	x8, x8, w0, uxtw #3
	add	x8, x8, #4
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x8, x8, #8
	subs	x0, x0, #1
	b.le	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w9, [x8, #-4]
	cmp	w9, w1
	b.gt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x8]
	cmp	w9, w2
	b.gt	LBB0_2
LBB0_5:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_6:
	mov	w0, #0
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wxh_to_mode
.subsections_via_symbols
