	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function search_message
_search_message:                        ## @search_message
	.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
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%edi, %ebx
	movq	_FORMAT_MESSAGE_FROM_HMODULE@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_2
## %bb.1:
	movl	%esi, %edi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_load_message
	testq	%rax, %rax
	jne	LBB0_4
LBB0_2:
	movq	_FORMAT_MESSAGE_FROM_SYSTEM@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_3
## %bb.5:
	movl	%r15d, %edi
	callq	_HRESULT_SEVERITY
	movq	_SEVERITY_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	movl	%r15d, %edi
	callq	_HRESULT_FACILITY
	movq	_FACILITY_WIN32@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r15d, %edi
	callq	_HRESULT_CODE
	movl	%eax, %r15d
LBB0_8:
	movq	_kernel32_handle@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_load_message                   ## TAILCALL
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FORMAT_MESSAGE_FROM_HMODULE,4,2 ## @FORMAT_MESSAGE_FROM_HMODULE
	.comm	_FORMAT_MESSAGE_FROM_SYSTEM,4,2 ## @FORMAT_MESSAGE_FROM_SYSTEM
	.comm	_SEVERITY_ERROR,8,3             ## @SEVERITY_ERROR
	.comm	_FACILITY_WIN32,8,3             ## @FACILITY_WIN32
	.comm	_kernel32_handle,4,2            ## @kernel32_handle
	.no_dead_strip	_search_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function search_message
_search_message:                        ; @search_message
	.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, x3
	mov	x20, x2
	mov	x21, x0
Lloh0:
	adrp	x8, _FORMAT_MESSAGE_FROM_HMODULE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FORMAT_MESSAGE_FROM_HMODULE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x1
	mov	x1, x20
	mov	x2, x19
	bl	_load_message
	cbnz	x0, LBB0_8
LBB0_2:
Lloh3:
	adrp	x8, _FORMAT_MESSAGE_FROM_SYSTEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FORMAT_MESSAGE_FROM_SYSTEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_HRESULT_SEVERITY
Lloh6:
	adrp	x8, _SEVERITY_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEVERITY_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x20
	bl	_HRESULT_FACILITY
Lloh9:
	adrp	x8, _FACILITY_WIN32@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FACILITY_WIN32@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_HRESULT_CODE
	mov	x20, x0
LBB0_6:
Lloh12:
	adrp	x8, _kernel32_handle@GOTPAGE
Lloh13:
	ldr	x8, [x8, _kernel32_handle@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, x19
	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
	b	_load_message
LBB0_7:
	mov	x0, #0
LBB0_8:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_FORMAT_MESSAGE_FROM_HMODULE,4,2 ; @FORMAT_MESSAGE_FROM_HMODULE
	.comm	_FORMAT_MESSAGE_FROM_SYSTEM,4,2 ; @FORMAT_MESSAGE_FROM_SYSTEM
	.comm	_SEVERITY_ERROR,8,3             ; @SEVERITY_ERROR
	.comm	_FACILITY_WIN32,8,3             ; @FACILITY_WIN32
	.comm	_kernel32_handle,4,2            ; @kernel32_handle
	.no_dead_strip	_search_message
.subsections_via_symbols
