	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elf_read_wine_loader_dbg_info  ## -- Begin function elf_read_wine_loader_dbg_info
	.p2align	4, 0x90
_elf_read_wine_loader_dbg_info:         ## @elf_read_wine_loader_dbg_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_ELF_INFO_DEBUG_HEADER@GOTPCREL(%rip), %rax
	movq	_ELF_INFO_MODULE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -24(%rbp)
	leaq	-24(%rbp), %rsi
	callq	_elf_search_loader
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	-16(%rbp), %rdi
	movq	(%rdi), %rax
	movq	_DFI_ELF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rax
	movl	$1, (%rax)
	movq	_S_WineLoaderW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_module_set_module
	movl	-20(%rbp), %ecx
	movl	%ecx, (%rbx)
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
	jmp	LBB0_3
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ELF_INFO_DEBUG_HEADER,4,2      ## @ELF_INFO_DEBUG_HEADER
	.comm	_ELF_INFO_MODULE,4,2            ## @ELF_INFO_MODULE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_DFI_ELF,8,3                    ## @DFI_ELF
	.comm	_S_WineLoaderW,4,2              ## @S_WineLoaderW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elf_read_wine_loader_dbg_info  ; -- Begin function elf_read_wine_loader_dbg_info
	.p2align	2
_elf_read_wine_loader_dbg_info:         ; @elf_read_wine_loader_dbg_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _ELF_INFO_DEBUG_HEADER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ELF_INFO_DEBUG_HEADER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ELF_INFO_MODULE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ELF_INFO_MODULE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [sp]
	mov	x1, sp
	bl	_elf_search_loader
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x0, [sp, #8]
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _DFI_ELF@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DFI_ELF@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8]
	mov	w9, #1
	str	w9, [x8]
Lloh9:
	adrp	x8, _S_WineLoaderW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _S_WineLoaderW@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_module_set_module
	ldr	w8, [sp, #4]
	str	w8, [x19]
	cmp	w8, #0
	cset	w0, ne
	b	LBB0_3
LBB0_2:
Lloh12:
	adrp	x8, _FALSE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ELF_INFO_DEBUG_HEADER,4,2      ; @ELF_INFO_DEBUG_HEADER
	.comm	_ELF_INFO_MODULE,4,2            ; @ELF_INFO_MODULE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_DFI_ELF,8,3                    ; @DFI_ELF
	.comm	_S_WineLoaderW,4,2              ; @S_WineLoaderW
.subsections_via_symbols
