	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function REBAR_NotifyFormat
_REBAR_NotifyFormat:                    ## @REBAR_NotifyFormat
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_NF_REQUERY@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_REBAR_GetNotifyParent
	movq	_WM_NOTIFYFORMAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	8(%rbx), %edx
	movq	_NF_QUERY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %edi
	callq	_SendMessageW
	movq	_NFR_ANSI@GOTPCREL(%rip), %r14
	movq	_NFR_UNICODE@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	cmpq	(%r14), %rax
	je	LBB0_4
## %bb.2:
	cmpq	%rcx, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_ERR
	movq	(%r14), %rax
	movq	(%r15), %rcx
LBB0_4:
	xorl	%edx, %edx
	cmpq	%rcx, %rax
	sete	%dl
	movl	%edx, (%rbx)
	jmp	LBB0_9
LBB0_5:
	cmpl	$0, (%rbx)
	jne	LBB0_6
## %bb.7:
	movq	_NFR_ANSI@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_NFR_UNICODE@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rax
LBB0_9:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NF_REQUERY,8,3                 ## @NF_REQUERY
	.comm	_WM_NOTIFYFORMAT,4,2            ## @WM_NOTIFYFORMAT
	.comm	_NF_QUERY,4,2                   ## @NF_QUERY
	.comm	_NFR_ANSI,8,3                   ## @NFR_ANSI
	.comm	_NFR_UNICODE,8,3                ## @NFR_UNICODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wrong response to WM_NOTIFYFORMAT (%d), assuming ANSI\n"

	.no_dead_strip	_REBAR_NotifyFormat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function REBAR_NotifyFormat
_REBAR_NotifyFormat:                    ; @REBAR_NotifyFormat
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _NF_REQUERY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NF_REQUERY@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_REBAR_GetNotifyParent
Lloh3:
	adrp	x8, _WM_NOTIFYFORMAT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WM_NOTIFYFORMAT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
Lloh6:
	adrp	x8, _NF_QUERY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NF_QUERY@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	bl	_SendMessageW
	mov	x1, x0
Lloh9:
	adrp	x20, _NFR_ANSI@GOTPAGE
Lloh10:
	ldr	x20, [x20, _NFR_ANSI@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh11:
	adrp	x21, _NFR_UNICODE@GOTPAGE
Lloh12:
	ldr	x21, [x21, _NFR_UNICODE@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x9
	ccmp	x0, x8, #4, ne
	b.eq	LBB0_3
; %bb.2:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ERR
	ldr	x1, [x20]
	ldr	x8, [x21]
LBB0_3:
	cmp	x1, x8
	cset	w8, eq
	str	w8, [x19]
	b	LBB0_5
LBB0_4:
Lloh15:
	adrp	x8, _NFR_UNICODE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NFR_UNICODE@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh17:
	adrp	x10, _NFR_ANSI@GOTPAGE
Lloh18:
	ldr	x10, [x10, _NFR_ANSI@GOTPAGEOFF]
	cmp	w9, #0
	csel	x8, x10, x8, eq
	ldr	x1, [x8]
LBB0_5:
	mov	x0, x1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_NF_REQUERY,8,3                 ; @NF_REQUERY
	.comm	_WM_NOTIFYFORMAT,4,2            ; @WM_NOTIFYFORMAT
	.comm	_NF_QUERY,4,2                   ; @NF_QUERY
	.comm	_NFR_ANSI,8,3                   ; @NFR_ANSI
	.comm	_NFR_UNICODE,8,3                ; @NFR_UNICODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wrong response to WM_NOTIFYFORMAT (%d), assuming ANSI\n"

	.no_dead_strip	_REBAR_NotifyFormat
.subsections_via_symbols
