	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EDIT_WM_StyleChanged
_EDIT_WM_StyleChanged:                  ## @EDIT_WM_StyleChanged
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_GWL_STYLE@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	_ES_UPPERCASE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_ES_LOWERCASE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%r9d, %eax
	orl	%r8d, %eax
	movq	_ES_NUMBER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	%esi, %eax
	movl	(%rdi), %r10d
	movq	_ES_MULTILINE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%r10d, %ecx
	je	LBB0_3
## %bb.2:
	movq	_ES_WANTRETURN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_3:
	orl	%ecx, %eax
	movl	(%rdx), %ecx
	andl	%eax, %ecx
	andl	%ecx, %esi
	andl	%ecx, %r9d
	xorl	%edx, %edx
	negl	%esi
	movl	$0, %esi
	sbbl	%esi, %esi
	cmpl	$1, %r9d
	sbbl	%edx, %edx
	notl	%r8d
	orl	%r8d, %edx
	orl	%esi, %edx
	andl	%ecx, %edx
	notl	%eax
	andl	%eax, %r10d
	orl	%edx, %r10d
	movl	%r10d, (%rdi)
	jmp	LBB0_6
LBB0_4:
	movq	_GWL_EXSTYLE@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_WARN
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GWL_STYLE,8,3                  ## @GWL_STYLE
	.comm	_ES_UPPERCASE,4,2               ## @ES_UPPERCASE
	.comm	_ES_LOWERCASE,4,2               ## @ES_LOWERCASE
	.comm	_ES_NUMBER,4,2                  ## @ES_NUMBER
	.comm	_ES_MULTILINE,4,2               ## @ES_MULTILINE
	.comm	_ES_WANTRETURN,4,2              ## @ES_WANTRETURN
	.comm	_GWL_EXSTYLE,8,3                ## @GWL_EXSTYLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid style change %ld\n"

	.no_dead_strip	_EDIT_WM_StyleChanged
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function EDIT_WM_StyleChanged
_EDIT_WM_StyleChanged:                  ; @EDIT_WM_StyleChanged
	.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, _GWL_STYLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GWL_STYLE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ES_UPPERCASE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ES_UPPERCASE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ES_LOWERCASE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ES_LOWERCASE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _ES_NUMBER@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ES_NUMBER@GOTPAGEOFF]
	orr	w11, w9, w8
Lloh11:
	ldr	w10, [x10]
	orr	w11, w11, w10
	ldr	w12, [x0]
Lloh12:
	adrp	x13, _ES_MULTILINE@GOTPAGE
Lloh13:
	ldr	x13, [x13, _ES_MULTILINE@GOTPAGEOFF]
Lloh14:
	ldr	w13, [x13]
Lloh15:
	adrp	x14, _ES_WANTRETURN@GOTPAGE
Lloh16:
	ldr	x14, [x14, _ES_WANTRETURN@GOTPAGEOFF]
Lloh17:
	ldr	w14, [x14]
	tst	w13, w12
	csel	w13, wzr, w14, eq
	orr	w11, w11, w13
	ldr	w13, [x2]
	and	w13, w11, w13
	and	w10, w13, w10
	tst	w13, w9
	ccmp	w10, #0, #0, ne
	mov	w9, #-1
	csinv	w8, w9, w8, ne
	and	w8, w8, w13
	bic	w9, w12, w11
	orr	w8, w8, w9
	str	w8, [x0]
	b	LBB0_4
LBB0_2:
Lloh18:
	adrp	x8, _GWL_EXSTYLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GWL_EXSTYLE@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x8, x1
	b.eq	LBB0_4
; %bb.3:
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	bl	_WARN
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_GWL_STYLE,8,3                  ; @GWL_STYLE
	.comm	_ES_UPPERCASE,4,2               ; @ES_UPPERCASE
	.comm	_ES_LOWERCASE,4,2               ; @ES_LOWERCASE
	.comm	_ES_NUMBER,4,2                  ; @ES_NUMBER
	.comm	_ES_MULTILINE,4,2               ; @ES_MULTILINE
	.comm	_ES_WANTRETURN,4,2              ; @ES_WANTRETURN
	.comm	_GWL_EXSTYLE,8,3                ; @GWL_EXSTYLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid style change %ld\n"

	.no_dead_strip	_EDIT_WM_StyleChanged
.subsections_via_symbols
