	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function STATIC_GetImage
_STATIC_GetImage:                       ## @STATIC_GetImage
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SS_TYPEMASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	cmpl	$130, %edx
	je	LBB0_6
## %bb.1:
	cmpl	$129, %edx
	je	LBB0_8
## %bb.2:
	cmpl	$128, %edx
	jne	LBB0_10
## %bb.3:
	movq	_IMAGE_ICON@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	je	LBB0_9
## %bb.4:
	movq	_IMAGE_CURSOR@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_10
	jmp	LBB0_9
LBB0_6:
	movq	_IMAGE_BITMAP@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	je	LBB0_9
LBB0_10:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_8:
	movq	_IMAGE_ENHMETAFILE@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_10
LBB0_9:
	movq	_HICON_GWL_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetWindowLongPtrW
	cltq
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SS_TYPEMASK,4,2                ## @SS_TYPEMASK
	.comm	_IMAGE_ICON,4,2                 ## @IMAGE_ICON
	.comm	_IMAGE_CURSOR,4,2               ## @IMAGE_CURSOR
	.comm	_IMAGE_BITMAP,4,2               ## @IMAGE_BITMAP
	.comm	_IMAGE_ENHMETAFILE,4,2          ## @IMAGE_ENHMETAFILE
	.comm	_HICON_GWL_OFFSET,4,2           ## @HICON_GWL_OFFSET
	.no_dead_strip	_STATIC_GetImage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function STATIC_GetImage
_STATIC_GetImage:                       ; @STATIC_GetImage
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _SS_TYPEMASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SS_TYPEMASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w2
	cmp	w8, #130
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _IMAGE_ICON@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IMAGE_ICON@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _IMAGE_CURSOR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IMAGE_CURSOR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w1
	ccmp	w9, w1, #4, ne
	b.eq	LBB0_8
LBB0_4:
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh9:
	adrp	x8, _IMAGE_BITMAP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IMAGE_BITMAP@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x8, _IMAGE_ENHMETAFILE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IMAGE_ENHMETAFILE@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_4
LBB0_8:
Lloh13:
	adrp	x8, _HICON_GWL_OFFSET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HICON_GWL_OFFSET@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_GetWindowLongPtrW
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SS_TYPEMASK,4,2                ; @SS_TYPEMASK
	.comm	_IMAGE_ICON,4,2                 ; @IMAGE_ICON
	.comm	_IMAGE_CURSOR,4,2               ; @IMAGE_CURSOR
	.comm	_IMAGE_BITMAP,4,2               ; @IMAGE_BITMAP
	.comm	_IMAGE_ENHMETAFILE,4,2          ; @IMAGE_ENHMETAFILE
	.comm	_HICON_GWL_OFFSET,4,2           ; @HICON_GWL_OFFSET
	.no_dead_strip	_STATIC_GetImage
.subsections_via_symbols
