	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_Encoder_CheckJWWLineHead  ## -- Begin function HPDF_Encoder_CheckJWWLineHead
	.p2align	4, 0x90
_HPDF_Encoder_CheckJWWLineHead:         ## @HPDF_Encoder_CheckJWWLineHead
	.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, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_HPDF_PTRACE
	movq	%r14, %rdi
	callq	_HPDF_Encoder_Validate
	movq	_HPDF_FALSE@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	movq	(%r14), %rax
	movq	_HPDF_ENCODER_TYPE_DOUBLE_BYTE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_8
## %bb.2:
	movq	_HPDF_MAX_JWW_NUM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	8(%r14), %rdx
	movq	(%rdx), %rdx
	decq	%rax
	xorl	%edi, %edi
	movq	_HPDF_TRUE@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rdi,8), %rsi
	cmpq	%rbx, %rsi
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	1(%rdi), %rsi
	cmpq	%rdi, %rax
	movq	%rsi, %rdi
	jne	LBB0_4
	jmp	LBB0_8
LBB0_5:
	movq	%r8, %rcx
LBB0_8:
	movl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" HPDF_Encoder_CheckJWWLineHead\n"

	.comm	_HPDF_FALSE,4,2                 ## @HPDF_FALSE
	.comm	_HPDF_ENCODER_TYPE_DOUBLE_BYTE,8,3 ## @HPDF_ENCODER_TYPE_DOUBLE_BYTE
	.comm	_HPDF_MAX_JWW_NUM,8,3           ## @HPDF_MAX_JWW_NUM
	.comm	_HPDF_TRUE,4,2                  ## @HPDF_TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_Encoder_CheckJWWLineHead  ; -- Begin function HPDF_Encoder_CheckJWWLineHead
	.p2align	2
_HPDF_Encoder_CheckJWWLineHead:         ; @HPDF_Encoder_CheckJWWLineHead
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HPDF_PTRACE
	mov	x0, x20
	bl	_HPDF_Encoder_Validate
	cbz	w0, LBB0_7
; %bb.1:
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _HPDF_ENCODER_TYPE_DOUBLE_BYTE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HPDF_ENCODER_TYPE_DOUBLE_BYTE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.2:
Lloh5:
	adrp	x8, _HPDF_MAX_JWW_NUM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HPDF_MAX_JWW_NUM@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.3:
	ldr	x9, [x20, #8]
	ldr	x9, [x9]
	sub	x11, x8, #1
Lloh8:
	adrp	x8, _HPDF_TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HPDF_TRUE@GOTPAGEOFF]
Lloh10:
	adrp	x10, _HPDF_FALSE@GOTPAGE
Lloh11:
	ldr	x10, [x10, _HPDF_FALSE@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9]
	cmp	x12, x19
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x12, #0
	ccmp	x11, #0, #4, ne
	sub	x11, x11, #1
	add	x9, x9, #8
	b.ne	LBB0_4
; %bb.6:
	mov	x8, x10
	b	LBB0_8
LBB0_7:
Lloh12:
	adrp	x8, _HPDF_FALSE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HPDF_FALSE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" HPDF_Encoder_CheckJWWLineHead\n"

	.comm	_HPDF_FALSE,4,2                 ; @HPDF_FALSE
	.comm	_HPDF_ENCODER_TYPE_DOUBLE_BYTE,8,3 ; @HPDF_ENCODER_TYPE_DOUBLE_BYTE
	.comm	_HPDF_MAX_JWW_NUM,8,3           ; @HPDF_MAX_JWW_NUM
	.comm	_HPDF_TRUE,4,2                  ; @HPDF_TRUE
.subsections_via_symbols
