	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tx3g_update_style
_tx3g_update_style:                     ## @tx3g_update_style
	.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	%rdi, %rbx
	movq	40(%rdi), %r15
	movl	(%r15), %eax
	xorl	16(%rdi), %eax
	movl	%esi, %r14d
	movq	_TX3G_STYLES@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.1:
	movq	24(%rbx), %rax
	cmpq	8(%r15), %rax
	jne	LBB0_4
## %bb.2:
	movq	32(%rbx), %rax
	cmpq	16(%r15), %rax
	jne	LBB0_4
## %bb.3:
	cmpq	$0, 8(%rbx)
	je	LBB0_9
LBB0_4:
	cmpl	%r14d, (%rbx)
	jge	LBB0_8
## %bb.5:
	leal	-1(%r14), %esi
	movq	%rbx, %rdi
	callq	_tx3g_update_style_atoms
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%r14d, (%rbx)
LBB0_8:
	leaq	16(%rbx), %rax
	movq	16(%r15), %rcx
	movq	%rcx, 16(%rax)
	movups	(%r15), %xmm0
	movups	%xmm0, (%rax)
	movq	$0, 8(%rbx)
LBB0_9:
	movl	$1, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_TX3G_STYLES,4,2                ## @TX3G_STYLES
	.no_dead_strip	_tx3g_update_style
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tx3g_update_style
_tx3g_update_style:                     ; @tx3g_update_style
	.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, x1
	mov	x19, x0
	mov	x21, x0
	ldr	w8, [x21, #16]!
	ldr	x22, [x21, #24]
	ldr	w9, [x22]
	eor	w8, w9, w8
Lloh0:
	adrp	x9, _TX3G_STYLES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TX3G_STYLES@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w8, w9
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x19, #24]
	ldr	x9, [x22, #8]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x19, #32]
	ldr	x9, [x22, #16]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_8
LBB0_4:
	ldr	w8, [x19]
	cmp	w8, w20
	b.ge	LBB0_7
; %bb.5:
	sub	w1, w20, #1
	mov	x0, x19
	bl	_tx3g_update_style_atoms
	cbz	w0, LBB0_9
; %bb.6:
	str	w20, [x19]
LBB0_7:
	ldr	q0, [x22]
	ldr	x8, [x22, #16]
	str	x8, [x21, #16]
	str	q0, [x21]
	str	xzr, [x19, #8]
LBB0_8:
	mov	w0, #1
LBB0_9:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TX3G_STYLES,4,2                ; @TX3G_STYLES
	.no_dead_strip	_tx3g_update_style
.subsections_via_symbols
