	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_define_icon_control            ## -- Begin function define_icon_control
	.p2align	4, 0x90
_define_icon_control:                   ## @define_icon_control
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r8d, %r12d
	movl	%ecx, %r13d
	movl	%edx, %ebx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movl	%edi, %r15d
	testl	%r9d, %r9d
	jne	LBB0_2
## %bb.1:
	movq	_SS_ICON@GOTPCREL(%rip), %rax
	movq	_WS_CHILD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	orl	(%rax), %r14d
	movq	_WS_VISIBLE@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
LBB0_2:
	leaq	L_.str(%rip), %rsi
	leaq	-80(%rbp), %rdi
	callq	_res_string_to_id
	movq	$0, -56(%rbp)
	movq	_CTL_STATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	-80(%rbp), %edi
	movq	-72(%rbp), %rsi
	movups	-64(%rbp), %xmm0
	movups	%xmm0, 8(%rsp)
	movl	16(%rbp), %eax
	movl	%eax, 32(%rsp)
	movl	%r14d, 24(%rsp)
	movl	$0, (%rsp)
	movl	%ebx, %edx
	movl	%r13d, %ecx
	movl	%r12d, %r8d
	movq	40(%rbp), %r12
	xorl	%r9d, %r9d
	callq	_define_control
	movq	%rax, %rbx
	movl	%r15d, 16(%rax)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 24(%rbx)
	movl	24(%rbp), %r14d
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.3:
	testq	%r12, %r12
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_rcparse_warning
LBB0_5:
	movq	32(%rbp), %r15
	testq	%r15, %r15
	je	LBB0_8
## %bb.6:
	testq	%r12, %r12
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_rcparse_warning
LBB0_8:
	movl	%r14d, (%rbx)
	movq	%r15, 8(%rbx)
	movq	%rbx, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SS_ICON,4,2                    ## @SS_ICON
	.comm	_WS_CHILD,4,2                   ## @WS_CHILD
	.comm	_WS_VISIBLE,4,2                 ## @WS_VISIBLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_CTL_STATIC,4,2                 ## @CTL_STATIC
L_.str.1:                               ## @.str.1
	.asciz	"help ID requires DIALOGEX"

L_.str.2:                               ## @.str.2
	.asciz	"control data requires DIALOGEX"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_define_icon_control            ; -- Begin function define_icon_control
	.p2align	2
_define_icon_control:                   ; @define_icon_control
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x7
	mov	x25, x6
	mov	x26, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x20, x1
	mov	x21, x0
	cbnz	w5, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SS_ICON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SS_ICON@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _WS_CHILD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WS_CHILD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _WS_VISIBLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WS_VISIBLE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w26, w8, w9
LBB0_2:
	ldp	x27, x28, [x29, #16]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #32
	bl	_res_string_to_id
Lloh11:
	adrp	x8, _CTL_STATIC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CTL_STATIC@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldp	x0, x1, [sp, #32]
	stp	w26, w25, [sp, #16]
	stp	x8, xzr, [sp]
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	mov	w5, #0
	mov	w6, #0
	bl	_define_control
	mov	x22, x0
	stp	x21, x20, [x0, #16]
	cbz	w19, LBB0_5
; %bb.3:
	cbnz	x28, LBB0_5
; %bb.4:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	bl	_rcparse_warning
LBB0_5:
	cbz	x27, LBB0_8
; %bb.6:
	cbnz	x28, LBB0_8
; %bb.7:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	bl	_rcparse_warning
LBB0_8:
	str	w19, [x22]
	str	x27, [x22, #8]
	mov	x0, x22
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SS_ICON,4,2                    ; @SS_ICON
	.comm	_WS_CHILD,4,2                   ; @WS_CHILD
	.comm	_WS_VISIBLE,4,2                 ; @WS_VISIBLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_CTL_STATIC,4,2                 ; @CTL_STATIC
l_.str.1:                               ; @.str.1
	.asciz	"help ID requires DIALOGEX"

l_.str.2:                               ; @.str.2
	.asciz	"control data requires DIALOGEX"

.subsections_via_symbols
