	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function HEADER_FillItemFrame
_HEADER_FillItemFrame:                  ## @HEADER_FillItemFrame
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %r13
	movq	%rdx, %r15
	movl	%esi, %r14d
	movl	(%rdi), %edi
	callq	_GetWindowTheme
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	cmpq	$0, (%r13)
	je	LBB0_3
## %bb.2:
	movq	_HIS_PRESSED@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_7:
	movl	%r14d, %edi
	callq	_GetBkColor
	movl	%eax, %edi
	callq	_CreateSolidBrush
	movl	%eax, %ebx
	movl	%r14d, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_FillRect
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DeleteObject                   ## TAILCALL
LBB0_3:
	testq	%r12, %r12
	jne	LBB0_4
## %bb.5:
	movq	_HIS_NORMAL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_HIS_HOT@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %r12d
	movq	_HP_HEADERITEM@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r12d, %ecx
	movq	%r15, %r8
	xorl	%r9d, %r9d
	callq	_DrawThemeBackground
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r12d, %ecx
	movq	%r15, %r8
	movq	%r15, %r9
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_GetThemeBackgroundContentRect  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HIS_PRESSED,4,2                ## @HIS_PRESSED
	.comm	_HIS_HOT,4,2                    ## @HIS_HOT
	.comm	_HIS_NORMAL,4,2                 ## @HIS_NORMAL
	.comm	_HP_HEADERITEM,4,2              ## @HP_HEADERITEM
	.no_dead_strip	_HEADER_FillItemFrame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HEADER_FillItemFrame
_HEADER_FillItemFrame:                  ; @HEADER_FillItemFrame
	.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	x22, x4
	mov	x23, x3
	mov	x19, x2
	mov	x20, x1
	ldr	w0, [x0]
	bl	_GetWindowTheme
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	x8, [x23]
	cbz	x8, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _HIS_PRESSED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HIS_PRESSED@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	mov	x0, x20
	bl	_GetBkColor
	bl	_CreateSolidBrush
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_FillRect
	mov	x0, x21
	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
	b	_DeleteObject
LBB0_4:
Lloh2:
	adrp	x8, _HIS_HOT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HIS_HOT@GOTPAGEOFF]
Lloh4:
	adrp	x9, _HIS_NORMAL@GOTPAGE
Lloh5:
	ldr	x9, [x9, _HIS_NORMAL@GOTPAGEOFF]
	cmp	x22, #0
	csel	x8, x9, x8, eq
LBB0_5:
	ldr	w22, [x8]
Lloh6:
	adrp	x23, _HP_HEADERITEM@GOTPAGE
Lloh7:
	ldr	x23, [x23, _HP_HEADERITEM@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x21
	mov	x1, x20
	mov	x3, x22
	mov	x4, x19
	mov	x5, #0
	bl	_DrawThemeBackground
	ldr	w2, [x23]
	mov	x0, x21
	mov	x1, x20
	mov	x3, x22
	mov	x4, x19
	mov	x5, x19
	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
	b	_GetThemeBackgroundContentRect
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_HIS_PRESSED,4,2                ; @HIS_PRESSED
	.comm	_HIS_HOT,4,2                    ; @HIS_HOT
	.comm	_HIS_NORMAL,4,2                 ; @HIS_NORMAL
	.comm	_HP_HEADERITEM,4,2              ; @HP_HEADERITEM
	.no_dead_strip	_HEADER_FillItemFrame
.subsections_via_symbols
