	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_wgetparent                 ## -- Begin function dlg_wgetparent
	.p2align	4, 0x90
_dlg_wgetparent:                        ## @dlg_wgetparent
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_dialog_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, 8(%rcx)
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_2
LBB0_4:
	popq	%rbp
	retq
LBB0_3:
	movq	(%rcx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dialog_state,8,3               ## @dialog_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_wgetparent                 ; -- Begin function dlg_wgetparent
	.p2align	2
_dlg_wgetparent:                        ; @dlg_wgetparent
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _dialog_state@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dialog_state@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, #8]
	cmp	x9, x0
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x8, #16]
	cbnz	x8, LBB0_1
LBB0_3:
	mov	x0, #0
	ret
LBB0_4:
	ldr	x0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_dialog_state,8,3               ; @dialog_state
.subsections_via_symbols
