	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function HEADER_GetItemT
_HEADER_GetItemT:                       ## @HEADER_GetItemT
	.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	_FALSE@GOTPCREL(%rip), %rbx
	testq	%rdx, %rdx
	je	LBB0_23
## %bb.1:
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movl	(%r12), %r13d
	movq	_TRUE@GOTPCREL(%rip), %rax
	testl	%r13d, %r13d
	je	LBB0_2
## %bb.3:
	cmpq	%r15, 8(%r14)
	jbe	LBB0_23
## %bb.4:
	movq	_HDI_UNKNOWN_FIELDS@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	movl	%r13d, %esi
	callq	_TRACE
	movq	_HDI_COMCTL32_4_0_FIELDS@GOTPCREL(%rip), %rax
	andl	(%rax), %r13d
LBB0_6:
	movq	(%r14), %rcx
	leaq	(%r15,%r15,8), %rax
	leaq	(%rax,%rax,2), %rbx
	addq	%r15, %rbx
	movq	%r14, %rdi
	movq	%rcx, %r14
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_HEADER_PrepareCallbackItems
	movq	_HDI_BITMAP@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_8
## %bb.7:
	movl	24(%r14,%rbx), %eax
	movl	%eax, 36(%r12)
LBB0_8:
	movq	_HDI_FORMAT@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_10
## %bb.9:
	movl	20(%r14,%rbx), %eax
	movl	%eax, 32(%r12)
LBB0_10:
	movq	_HDI_WIDTH@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_12
## %bb.11:
	movl	16(%r14,%rbx), %eax
	movl	%eax, 28(%r12)
LBB0_12:
	movq	_HDI_LPARAM@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_14
## %bb.13:
	movl	12(%r14,%rbx), %eax
	movl	%eax, 24(%r12)
LBB0_14:
	movq	_HDI_IMAGE@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_16
## %bb.15:
	movl	8(%r14,%rbx), %eax
	movl	%eax, 20(%r12)
LBB0_16:
	movq	_HDI_ORDER@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_18
## %bb.17:
	movl	4(%r14,%rbx), %eax
	movl	%eax, 16(%r12)
LBB0_18:
	addq	%rbx, %r14
	movq	_HDI_TEXT@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_22
## %bb.19:
	movl	(%r14), %edi
	movq	8(%r12), %rsi
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_21
## %bb.20:
	movl	4(%r12), %edx
	callq	_Str_GetPtrW
	jmp	LBB0_22
LBB0_2:
	movq	%rax, %rbx
	jmp	LBB0_23
LBB0_21:
	movl	4(%r12), %edx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_Str_GetPtrWtoA
LBB0_22:
	movq	%r14, %rdi
	callq	_HEADER_FreeCallbackItems
	movq	_TRUE@GOTPCREL(%rip), %rbx
LBB0_23:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[nItem=%d]\n"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_HDI_UNKNOWN_FIELDS,4,2         ## @HDI_UNKNOWN_FIELDS
L_.str.1:                               ## @.str.1
	.asciz	"mask %x contains unknown fields. Using only comctl32 4.0 fields\n"

	.comm	_HDI_COMCTL32_4_0_FIELDS,4,2    ## @HDI_COMCTL32_4_0_FIELDS
	.comm	_HDI_BITMAP,4,2                 ## @HDI_BITMAP
	.comm	_HDI_FORMAT,4,2                 ## @HDI_FORMAT
	.comm	_HDI_WIDTH,4,2                  ## @HDI_WIDTH
	.comm	_HDI_LPARAM,4,2                 ## @HDI_LPARAM
	.comm	_HDI_IMAGE,4,2                  ## @HDI_IMAGE
	.comm	_HDI_ORDER,4,2                  ## @HDI_ORDER
	.comm	_HDI_TEXT,4,2                   ## @HDI_TEXT
	.no_dead_strip	_HEADER_GetItemT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HEADER_GetItemT
_HEADER_GetItemT:                       ; @HEADER_GetItemT
	.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
	cbz	x2, LBB0_20
; %bb.1:
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	ldr	w22, [x19]
	cbz	w22, LBB0_23
; %bb.2:
	ldr	x8, [x23, #8]
	cmp	x8, x21
	b.ls	LBB0_20
; %bb.3:
Lloh2:
	adrp	x8, _HDI_UNKNOWN_FIELDS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HDI_UNKNOWN_FIELDS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_5
; %bb.4:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_TRACE
Lloh7:
	adrp	x8, _HDI_COMCTL32_4_0_FIELDS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HDI_COMCTL32_4_0_FIELDS@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	and	w22, w8, w22
LBB0_5:
	ldr	x24, [x23]
	mov	x0, x23
	mov	x1, x21
	mov	x2, x22
	bl	_HEADER_PrepareCallbackItems
Lloh10:
	adrp	x8, _HDI_BITMAP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HDI_BITMAP@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_7
; %bb.6:
	mov	w8, #28
	madd	x8, x21, x8, x24
	ldr	w8, [x8, #24]
	str	w8, [x19, #36]
LBB0_7:
Lloh13:
	adrp	x8, _HDI_FORMAT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HDI_FORMAT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_9
; %bb.8:
	mov	w8, #28
	madd	x8, x21, x8, x24
	ldr	w8, [x8, #20]
	str	w8, [x19, #32]
LBB0_9:
Lloh16:
	adrp	x8, _HDI_WIDTH@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HDI_WIDTH@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_11
; %bb.10:
	mov	w8, #28
	madd	x8, x21, x8, x24
	ldr	w8, [x8, #16]
	str	w8, [x19, #28]
LBB0_11:
	mov	w8, #28
Lloh19:
	adrp	x9, _HDI_LPARAM@GOTPAGE
Lloh20:
	ldr	x9, [x9, _HDI_LPARAM@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w22
	b.eq	LBB0_13
; %bb.12:
	mov	w9, #28
	madd	x9, x21, x9, x24
	ldr	w9, [x9, #12]
	str	w9, [x19, #24]
LBB0_13:
Lloh22:
	adrp	x9, _HDI_IMAGE@GOTPAGE
Lloh23:
	ldr	x9, [x9, _HDI_IMAGE@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w22
	b.eq	LBB0_15
; %bb.14:
	mov	w9, #28
	madd	x9, x21, x9, x24
	ldr	w9, [x9, #8]
	str	w9, [x19, #20]
LBB0_15:
	madd	x23, x21, x8, x24
Lloh25:
	adrp	x8, _HDI_ORDER@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HDI_ORDER@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_17
; %bb.16:
	mov	w8, #28
	madd	x8, x21, x8, x24
	ldr	w8, [x8, #4]
	str	w8, [x19, #16]
LBB0_17:
Lloh28:
	adrp	x8, _HDI_TEXT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _HDI_TEXT@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_22
; %bb.18:
	ldr	w0, [x23]
	ldr	x1, [x19, #8]
	cbz	x20, LBB0_21
; %bb.19:
	ldr	w2, [x19, #4]
	bl	_Str_GetPtrW
	b	LBB0_22
LBB0_20:
Lloh31:
	adrp	x8, _FALSE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_24
LBB0_21:
	ldr	w2, [x19, #4]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_Str_GetPtrWtoA
LBB0_22:
	mov	x0, x23
	bl	_HEADER_FreeCallbackItems
LBB0_23:
Lloh33:
	adrp	x8, _TRUE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_24:
	ldr	w0, [x8]
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[nItem=%d]\n"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_HDI_UNKNOWN_FIELDS,4,2         ; @HDI_UNKNOWN_FIELDS
l_.str.1:                               ; @.str.1
	.asciz	"mask %x contains unknown fields. Using only comctl32 4.0 fields\n"

	.comm	_HDI_COMCTL32_4_0_FIELDS,4,2    ; @HDI_COMCTL32_4_0_FIELDS
	.comm	_HDI_BITMAP,4,2                 ; @HDI_BITMAP
	.comm	_HDI_FORMAT,4,2                 ; @HDI_FORMAT
	.comm	_HDI_WIDTH,4,2                  ; @HDI_WIDTH
	.comm	_HDI_LPARAM,4,2                 ; @HDI_LPARAM
	.comm	_HDI_IMAGE,4,2                  ; @HDI_IMAGE
	.comm	_HDI_ORDER,4,2                  ; @HDI_ORDER
	.comm	_HDI_TEXT,4,2                   ; @HDI_TEXT
	.no_dead_strip	_HEADER_GetItemT
.subsections_via_symbols
