	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_CIDFontDef_ChangeStyle    ## -- Begin function HPDF_CIDFontDef_ChangeStyle
	.p2align	4, 0x90
_HPDF_CIDFontDef_ChangeStyle:           ## @HPDF_CIDFontDef_ChangeStyle
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_HPDF_PTRACE
	movq	_HPDF_INVALID_FONTDEF_DATA@GOTPCREL(%rip), %rax
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	cmpl	$0, 12(%rbx)
	je	LBB0_6
## %bb.2:
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	shll	(%rbx)
	movq	_HPDF_FONT_FOURCE_BOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rbx)
LBB0_4:
	movq	_HPDF_OK@GOTPCREL(%rip), %rax
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	addl	$-11, 4(%rbx)
	movq	_HPDF_FONT_ITALIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 8(%rbx)
LBB0_6:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" HPDF_CIDFontDef_ChangeStyle\n"

	.comm	_HPDF_INVALID_FONTDEF_DATA,4,2  ## @HPDF_INVALID_FONTDEF_DATA
	.comm	_HPDF_FONT_FOURCE_BOLD,4,2      ## @HPDF_FONT_FOURCE_BOLD
	.comm	_HPDF_FONT_ITALIC,4,2           ## @HPDF_FONT_ITALIC
	.comm	_HPDF_OK,4,2                    ## @HPDF_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_CIDFontDef_ChangeStyle    ; -- Begin function HPDF_CIDFontDef_ChangeStyle
	.p2align	2
_HPDF_CIDFontDef_ChangeStyle:           ; @HPDF_CIDFontDef_ChangeStyle
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HPDF_PTRACE
	cbz	x19, LBB0_7
; %bb.1:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_7
; %bb.2:
	cbz	x21, LBB0_4
; %bb.3:
	ldr	w8, [x19]
	lsl	w8, w8, #1
	str	w8, [x19]
Lloh2:
	adrp	x8, _HPDF_FONT_FOURCE_BOLD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HPDF_FONT_FOURCE_BOLD@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_4:
	cbz	x20, LBB0_6
; %bb.5:
	ldp	w8, w9, [x19, #4]
	sub	w8, w8, #11
Lloh5:
	adrp	x10, _HPDF_FONT_ITALIC@GOTPAGE
Lloh6:
	ldr	x10, [x10, _HPDF_FONT_ITALIC@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	orr	w9, w9, w10
	stp	w8, w9, [x19, #4]
LBB0_6:
Lloh8:
	adrp	x8, _HPDF_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HPDF_OK@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh10:
	adrp	x8, _HPDF_INVALID_FONTDEF_DATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HPDF_INVALID_FONTDEF_DATA@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" HPDF_CIDFontDef_ChangeStyle\n"

	.comm	_HPDF_INVALID_FONTDEF_DATA,4,2  ; @HPDF_INVALID_FONTDEF_DATA
	.comm	_HPDF_FONT_FOURCE_BOLD,4,2      ; @HPDF_FONT_FOURCE_BOLD
	.comm	_HPDF_FONT_ITALIC,4,2           ; @HPDF_FONT_ITALIC
	.comm	_HPDF_OK,4,2                    ; @HPDF_OK
.subsections_via_symbols
