	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dwarf2_parse_udt_member
_dwarf2_parse_udt_member:               ## @dwarf2_parse_udt_member
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	%rdx, %rdi
	callq	_assert
	movq	%r13, %rdi
	callq	_dwarf2_debug_ctx
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_dwarf2_debug_di
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_TRACE
	movq	_DW_AT_name@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-112(%rbp), %rcx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_dwarf2_find_attribute
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	$0, -104(%rbp)
LBB0_2:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_dwarf2_lookup_type
	movq	%rax, %r12
	movq	_DW_AT_data_member_location@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %rcx
	movq	%r13, %rdi
	movq	%r14, %rsi
	xorl	%r8d, %r8d
	callq	_dwarf2_compute_location_attr
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	-56(%rbp), %rax
	movq	_loc_absolute@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.18:
	movq	%r13, %rdi
	callq	_dwarf2_debug_ctx
	movl	-48(%rbp), %edx
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_TRACE
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	callq	_FIXME
LBB0_5:
	movl	$0, -48(%rbp)
LBB0_6:
	movq	_DW_AT_bit_size@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-96(%rbp), %rcx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_dwarf2_find_attribute
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	$0, -96(%rbp)
LBB0_8:
	movq	_DW_AT_bit_offset@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-80(%rbp), %rcx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_dwarf2_find_attribute
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	movq	_DW_AT_byte_size@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-128(%rbp), %rcx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_dwarf2_find_attribute
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	-128(%rbp), %rax
	jmp	LBB0_13
LBB0_14:
	movq	$0, -80(%rbp)
	xorl	%eax, %eax
	movq	-96(%rbp), %r9
	jmp	LBB0_15
LBB0_11:
	movl	(%r13), %edi
	movq	_TI_GET_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rcx
	movq	%r12, %rsi
	callq	_symt_get_info
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	-64(%rbp), %rax
LBB0_13:
	shlq	$3, %rax
	movq	-96(%rbp), %r9
	movq	-80(%rbp), %rcx
	addq	%r9, %rcx
	subq	%rcx, %rax
	movq	%rax, -80(%rbp)
LBB0_15:
	movl	(%r13), %edi
	movq	-104(%rbp), %rdx
	movl	-48(%rbp), %ecx
	leal	(%rax,%rcx,8), %r8d
	movq	%r15, %rsi
	movq	%r12, %rcx
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_symt_add_udt_element
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_dwarf2_get_di_children
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	leaq	L_.str.3(%rip), %rdi
	callq	_FIXME
LBB0_17:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s, for %s\n"

	.comm	_DW_AT_name,4,2                 ## @DW_AT_name
	.comm	_DW_AT_data_member_location,4,2 ## @DW_AT_data_member_location
	.comm	_loc_absolute,8,3               ## @loc_absolute
L_.str.1:                               ## @.str.1
	.asciz	"Found register, while not expecting it\n"

L_.str.2:                               ## @.str.2
	.asciz	"found member_location at %s -> %lu\n"

	.comm	_DW_AT_bit_size,4,2             ## @DW_AT_bit_size
	.comm	_DW_AT_bit_offset,4,2           ## @DW_AT_bit_offset
	.comm	_DW_AT_byte_size,4,2            ## @DW_AT_byte_size
	.comm	_TI_GET_LENGTH,4,2              ## @TI_GET_LENGTH
L_.str.3:                               ## @.str.3
	.asciz	"Unsupported children\n"

	.no_dead_strip	_dwarf2_parse_udt_member
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dwarf2_parse_udt_member
_dwarf2_parse_udt_member:               ; @dwarf2_parse_udt_member
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_assert
	mov	x0, x20
	bl	_dwarf2_debug_ctx
	mov	x22, x0
	mov	x0, x19
	bl	_dwarf2_debug_di
	mov	x2, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_TRACE
Lloh2:
	adrp	x8, _DW_AT_name@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DW_AT_name@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	sub	x3, x29, #48
	mov	x0, x20
	mov	x1, x19
	bl	_dwarf2_find_attribute
	cbnz	x0, LBB0_2
; %bb.1:
	stur	xzr, [x29, #-40]
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	bl	_dwarf2_lookup_type
	mov	x22, x0
Lloh5:
	adrp	x8, _DW_AT_data_member_location@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DW_AT_data_member_location@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	add	x3, sp, #32
	mov	x0, x20
	mov	x1, x19
	mov	x4, #0
	bl	_dwarf2_compute_location_attr
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x8, [sp, #32]
Lloh8:
	adrp	x9, _loc_absolute@GOTPAGE
Lloh9:
	ldr	x9, [x9, _loc_absolute@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_dwarf2_debug_ctx
	mov	x1, x0
	ldr	w2, [sp, #40]
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TRACE
	b	LBB0_7
LBB0_5:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_FIXME
LBB0_6:
	str	wzr, [sp, #40]
LBB0_7:
Lloh15:
	adrp	x8, _DW_AT_bit_size@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DW_AT_bit_size@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	add	x3, sp, #64
	mov	x0, x20
	mov	x1, x19
	bl	_dwarf2_find_attribute
	cbnz	x0, LBB0_9
; %bb.8:
	str	xzr, [sp, #64]
LBB0_9:
Lloh18:
	adrp	x8, _DW_AT_bit_offset@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DW_AT_bit_offset@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	add	x3, sp, #48
	mov	x0, x20
	mov	x1, x19
	bl	_dwarf2_find_attribute
	cbz	x0, LBB0_12
; %bb.10:
Lloh21:
	adrp	x8, _DW_AT_byte_size@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DW_AT_byte_size@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	add	x3, sp, #16
	mov	x0, x20
	mov	x1, x19
	bl	_dwarf2_find_attribute
	cbz	x0, LBB0_13
; %bb.11:
	ldr	x8, [sp, #16]
	b	LBB0_14
LBB0_12:
	mov	w8, #0
	str	xzr, [sp, #48]
	ldr	x5, [sp, #64]
	b	LBB0_15
LBB0_13:
	ldr	w0, [x20]
Lloh24:
	adrp	x8, _TI_GET_LENGTH@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TI_GET_LENGTH@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x1, x22
	bl	_symt_get_info
	ldr	x8, [sp, #8]
	cmp	x0, #0
	csel	x8, xzr, x8, eq
LBB0_14:
	lsl	x8, x8, #3
	ldr	x9, [sp, #48]
	ldr	x5, [sp, #64]
	add	x9, x9, x5
	sub	x8, x8, x9
	str	x8, [sp, #48]
LBB0_15:
	ldr	w0, [x20]
	ldur	x2, [x29, #-40]
	ldr	w9, [sp, #40]
	add	w4, w8, w9, lsl #3
	mov	x1, x21
	mov	x3, x22
                                        ; kill: def $w5 killed $w5 killed $x5
	bl	_symt_add_udt_element
	mov	x0, x20
	mov	x1, x19
	bl	_dwarf2_get_di_children
	cbz	x0, LBB0_17
; %bb.16:
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_FIXME
LBB0_17:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s, for %s\n"

	.comm	_DW_AT_name,4,2                 ; @DW_AT_name
	.comm	_DW_AT_data_member_location,4,2 ; @DW_AT_data_member_location
	.comm	_loc_absolute,8,3               ; @loc_absolute
l_.str.1:                               ; @.str.1
	.asciz	"Found register, while not expecting it\n"

l_.str.2:                               ; @.str.2
	.asciz	"found member_location at %s -> %lu\n"

	.comm	_DW_AT_bit_size,4,2             ; @DW_AT_bit_size
	.comm	_DW_AT_bit_offset,4,2           ; @DW_AT_bit_offset
	.comm	_DW_AT_byte_size,4,2            ; @DW_AT_byte_size
	.comm	_TI_GET_LENGTH,4,2              ; @TI_GET_LENGTH
l_.str.3:                               ; @.str.3
	.asciz	"Unsupported children\n"

	.no_dead_strip	_dwarf2_parse_udt_member
.subsections_via_symbols
