	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_addr                     ## -- Begin function check_addr
	.p2align	4, 0x90
_check_addr:                            ## @check_addr
	.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	%edi, %r15d
	movq	_hash_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edi, %ecx
	shrl	$16, %ecx
	movzwl	%r15w, %edx
	xorl	%ecx, %edx
	movq	(%rax,%rdx,8), %r14
	cmpl	%edi, (%r14)
	jne	LBB0_4
## %bb.1:
	movl	4(%r14), %edi
	movq	_MAX_OUTPUT_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_out@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	addl	%eax, %edx
	movq	_TARGET_SIZE_2@GOTPCREL(%rip), %rsi
	xorl	%ecx, %ecx
	subb	(%rsi), %cl
	movl	%edi, %esi
	subl	%edx, %esi
	shll	%cl, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	addl	$1610612736, %eax               ## imm = 0x60000000
	cmpl	%eax, %esi
	jle	LBB0_4
## %bb.2:
	callq	_isclean
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movslq	4(%r14), %rax
	jmp	LBB0_22
LBB0_4:
	cmpl	%r15d, 8(%r14)
	jne	LBB0_8
## %bb.5:
	movl	12(%r14), %edi
	movq	_MAX_OUTPUT_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_out@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	addl	%eax, %edx
	movq	_TARGET_SIZE_2@GOTPCREL(%rip), %rsi
	xorl	%ecx, %ecx
	subb	(%rsi), %cl
	movl	%edi, %esi
	subl	%edx, %esi
	shll	%cl, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	addl	$1610612736, %eax               ## imm = 0x60000000
	cmpl	%eax, %esi
	jle	LBB0_8
## %bb.6:
	callq	_isclean
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movslq	12(%r14), %rax
	jmp	LBB0_22
LBB0_8:
	movl	%r15d, %eax
	shrl	$12, %eax
	movl	%eax, %ecx
	andl	$917503, %ecx                   ## imm = 0xDFFFF
	andl	$1023, %eax                     ## imm = 0x3FF
	orl	$1024, %eax                     ## imm = 0x400
	cmpl	$1025, %ecx                     ## imm = 0x401
	cmovbl	%ecx, %eax
	movq	_jump_in@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_21
## %bb.9:
	movq	_out@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_TARGET_SIZE_2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$32, %edx
	subl	%ecx, %edx
	movq	_MAX_OUTPUT_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	negl	%ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	addl	$1610612736, %ebx               ## imm = 0x60000000
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	16(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_21
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%r15d, (%rsi)
	jne	LBB0_20
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%rsi), %rax
	movl	%eax, %edi
	subl	%r8d, %edi
	movl	%edx, %ecx
	shll	%cl, %edi
	cmpl	%ebx, %edi
	jle	LBB0_20
## %bb.12:
	movl	(%r14), %ecx
	cmpl	%r15d, %ecx
	jne	LBB0_14
## %bb.13:
	movl	%eax, 4(%r14)
	jmp	LBB0_22
LBB0_21:
	xorl	%eax, %eax
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	8(%r14), %edx
	cmpl	%r15d, %edx
	jne	LBB0_16
## %bb.15:
	movl	%eax, 12(%r14)
	jmp	LBB0_22
LBB0_16:
	cmpl	$-1, %ecx
	je	LBB0_17
## %bb.18:
	cmpl	$-1, %edx
	jne	LBB0_22
## %bb.19:
	movl	%eax, 12(%r14)
	movl	%r15d, 8(%r14)
	jmp	LBB0_22
LBB0_17:
	movl	%eax, 4(%r14)
	movl	%r15d, (%r14)
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_hash_table,8,3                 ## @hash_table
	.comm	_MAX_OUTPUT_BLOCK_SIZE,4,2      ## @MAX_OUTPUT_BLOCK_SIZE
	.comm	_out,8,3                        ## @out
	.comm	_TARGET_SIZE_2,4,2              ## @TARGET_SIZE_2
	.comm	_jump_in,8,3                    ## @jump_in
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_addr                     ; -- Begin function check_addr
	.p2align	2
_check_addr:                            ; @check_addr
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _hash_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hash_table@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	and	w9, w0, #0xffff
	eor	w9, w9, w0, lsr #16
	ldr	x20, [x8, w9, uxtw #3]
Lloh3:
	adrp	x21, _MAX_OUTPUT_BLOCK_SIZE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MAX_OUTPUT_BLOCK_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh5:
	adrp	x22, _out@GOTPAGE
Lloh6:
	ldr	x22, [x22, _out@GOTPAGEOFF]
Lloh7:
	adrp	x23, _TARGET_SIZE_2@GOTPAGE
Lloh8:
	ldr	x23, [x23, _TARGET_SIZE_2@GOTPAGEOFF]
	cmp	w8, w0
	b.ne	LBB0_4
; %bb.1:
	ldr	w0, [x20, #4]
	ldr	w8, [x21]
	ldr	w9, [x22]
	add	w9, w8, w9
	sub	w9, w0, w9
	ldr	w10, [x23]
	neg	w10, w10
	lsl	w9, w9, w10
	lsl	w8, w8, w10
	mov	w10, #1610612736
	add	w8, w8, w10
	cmp	w9, w8
	b.le	LBB0_4
; %bb.2:
	bl	_isclean
	cbz	x0, LBB0_4
; %bb.3:
	ldrsw	x0, [x20, #4]
	b	LBB0_16
LBB0_4:
	ldr	w8, [x20, #8]
	cmp	w8, w19
	b.ne	LBB0_8
; %bb.5:
	ldr	w0, [x20, #12]
	ldr	w8, [x21]
	ldr	w9, [x22]
	add	w9, w8, w9
	sub	w9, w0, w9
	ldr	w10, [x23]
	neg	w10, w10
	lsl	w9, w9, w10
	lsl	w8, w8, w10
	mov	w10, #1610612736
	add	w8, w8, w10
	cmp	w9, w8
	b.le	LBB0_8
; %bb.6:
	bl	_isclean
	cbz	x0, LBB0_8
; %bb.7:
	ldrsw	x0, [x20, #12]
	b	LBB0_16
LBB0_8:
	lsr	w8, w19, #12
	and	w8, w8, #0xfffdffff
	mov	w9, #1024
	bfxil	w9, w19, #12, #10
	cmp	w8, #1024
	csel	w8, w9, w8, hi
Lloh9:
	adrp	x9, _jump_in@GOTPAGE
Lloh10:
	ldr	x9, [x9, _jump_in@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x8, [x9, w8, uxtw #3]
	cbz	x8, LBB0_15
; %bb.9:
	ldr	w9, [x22]
	ldr	w11, [x23]
	mov	w10, #32
	sub	w10, w10, w11
	ldr	w12, [x21]
	neg	w11, w11
	lsl	w11, w12, w11
	mov	w12, #1610612736
	add	w11, w11, w12
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_15
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x8]
	cmp	w12, w19
	b.ne	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x0, [x8, #8]
	sub	w12, w0, w9
	lsl	w12, w12, w10
	cmp	w12, w11
	b.le	LBB0_10
; %bb.13:
	ldr	w8, [x20]
	cmp	w8, w19
	b.ne	LBB0_17
; %bb.14:
	str	w0, [x20, #4]
	b	LBB0_16
LBB0_15:
	mov	x0, #0
LBB0_16:
	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_17:
	ldr	w9, [x20, #8]
	cmp	w9, w19
	b.ne	LBB0_19
; %bb.18:
	str	w0, [x20, #12]
	b	LBB0_16
LBB0_19:
	cmn	w8, #1
	b.eq	LBB0_22
; %bb.20:
	cmn	w9, #1
	b.ne	LBB0_16
; %bb.21:
	stp	w19, w0, [x20, #8]
	b	LBB0_16
LBB0_22:
	stp	w19, w0, [x20]
	b	LBB0_16
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_hash_table,8,3                 ; @hash_table
	.comm	_MAX_OUTPUT_BLOCK_SIZE,4,2      ; @MAX_OUTPUT_BLOCK_SIZE
	.comm	_out,8,3                        ; @out
	.comm	_TARGET_SIZE_2,4,2              ; @TARGET_SIZE_2
	.comm	_jump_in,8,3                    ; @jump_in
.subsections_via_symbols
