	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_print_format_struct
_r_print_format_struct:                 ## @r_print_format_struct
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movq	%r8, %r12
	movq	%rdx, %r8
	movl	%esi, %r10d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	incl	%r14d
	movq	_STRUCTPTR@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movl	%r14d, %eax
	cltd
	idivl	%ebx
	movq	_NESTDEPTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	%esi, %edx
	jg	LBB0_2
## %bb.1:
	movq	%rdi, %r15
	movq	_STRUCTFLAG@GOTPCREL(%rip), %rdi
	movl	%r14d, %eax
	cltd
	idivl	(%rdi)
	movl	%edx, %eax
	cltd
	idivl	%ebx
	cmpl	%esi, %eax
	jle	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_eprintf
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	movl	%ebx, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	%ecx, -184(%rbp)                ## 4-byte Spill
	cmpl	$0, 40(%rbp)
	movq	%r12, %rbx
	je	LBB0_4
## %bb.6:
	testq	%rbx, %rbx
	jne	LBB0_7
	jmp	LBB0_8
LBB0_4:
	movl	12(%r15), %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	movq	%r8, -192(%rbp)                 ## 8-byte Spill
	movl	%r10d, -180(%rbp)               ## 4-byte Spill
	callq	_sdb_get
	movl	-180(%rbp), %r10d               ## 4-byte Reload
	movq	-192(%rbp), %r8                 ## 8-byte Reload
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	movl	8(%r15), %edi
	movq	%r12, %rsi
	callq	_r_type_format
	movl	-180(%rbp), %r10d               ## 4-byte Reload
	movq	-192(%rbp), %r8                 ## 8-byte Reload
	movq	%rax, %rbx
	testq	%rbx, %rbx
	je	LBB0_8
LBB0_7:
	cmpb	$0, (%rbx)
	je	LBB0_8
## %bb.9:
	movq	24(%rbp), %r11
	movl	16(%rbp), %r9d
	movq	_MUSTSEE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.10:
	movq	_SEEVALUE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_12
## %bb.11:
	addl	%r14d, %r14d
	leal	(%r14,%r14,2), %eax
	cltd
	idivl	(%r13)
                                        ## kill: def $edx killed $edx def $rdx
	leal	10(%rdx), %ecx
	leaq	L_.str.2(%rip), %rdx
	leaq	-176(%rbp), %rdi
	movl	$128, %esi
	movq	%r8, %r13
	movl	%r10d, %r14d
	callq	_snprintf
	cmpb	$48, (%rbx)
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	-176(%rbp), %rdi
	callq	*(%r15)
	leaq	L_.str.5(%rip), %rdi
	movq	%r12, %rsi
	callq	*(%r15)
	movq	24(%rbp), %r11
	movl	16(%rbp), %r9d
	movl	%r14d, %r10d
	movq	%r13, %r8
LBB0_12:
	movq	%r15, %rdi
	movl	%r10d, %esi
	movq	%r8, %rdx
	movl	-184(%rbp), %ecx                ## 4-byte Reload
	movq	%rbx, %r8
	pushq	32(%rbp)
	pushq	%r11
	movl	%r9d, %r14d
	callq	_r_print_format
	addq	$16, %rsp
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_r_print_format_struct_size
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_eprintf
	jmp	LBB0_13
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_STRUCTPTR,4,2                  ## @STRUCTPTR
	.comm	_NESTDEPTH,4,2                  ## @NESTDEPTH
	.comm	_STRUCTFLAG,4,2                 ## @STRUCTFLAG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Too much nested struct, recursion too deep...\n"

L_.str.1:                               ## @.str.1
	.asciz	"Undefined struct '%s'.\n"

	.comm	_MUSTSEE,8,3                    ## @MUSTSEE
	.comm	_SEEVALUE,4,2                   ## @SEEVALUE
L_.str.2:                               ## @.str.2
	.asciz	"%%%ds"

L_.str.3:                               ## @.str.3
	.asciz	"union"

L_.str.4:                               ## @.str.4
	.asciz	"struct"

L_.str.5:                               ## @.str.5
	.asciz	"<%s>\n"

	.no_dead_strip	_r_print_format_struct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_print_format_struct
_r_print_format_struct:                 ; @r_print_format_struct
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	add	w27, w5, #1
Lloh3:
	adrp	x28, _STRUCTPTR@GOTPAGE
Lloh4:
	ldr	x28, [x28, _STRUCTPTR@GOTPAGEOFF]
	ldr	w8, [x28]
	sdiv	w9, w27, w8
	msub	w10, w9, w8, w27
Lloh5:
	adrp	x9, _NESTDEPTH@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NESTDEPTH@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w10, w9
	b.gt	LBB0_2
; %bb.1:
Lloh8:
	adrp	x10, _STRUCTFLAG@GOTPAGE
Lloh9:
	ldr	x10, [x10, _STRUCTFLAG@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	sdiv	w11, w27, w10
	msub	w10, w11, w10, w27
	sdiv	w8, w10, w8
	cmp	w8, w9
	b.le	LBB0_6
LBB0_2:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
LBB0_3:
	bl	_eprintf
	mov	w0, #0
LBB0_4:
	ldur	x8, [x29, #-88]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.5:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_6:
	mov	x20, x7
	mov	x19, x6
	mov	x24, x4
	mov	x22, x3
	mov	x23, x2
	mov	x25, x1
	mov	x21, x0
	ldr	w8, [x29, #24]
	mov	x26, x4
	cbz	w8, LBB0_8
; %bb.7:
	cbnz	x26, LBB0_10
	b	LBB0_15
LBB0_8:
	ldr	w0, [x21, #12]
	mov	x1, x24
	mov	x2, #0
	bl	_sdb_get
	mov	x26, x0
	cbnz	x0, LBB0_10
; %bb.9:
	ldr	w0, [x21, #8]
	mov	x1, x24
	bl	_r_type_format
	mov	x26, x0
	cbz	x26, LBB0_15
LBB0_10:
	ldrb	w8, [x26]
	cbz	w8, LBB0_15
; %bb.11:
	ldr	x7, [x29, #16]
Lloh16:
	adrp	x8, _MUSTSEE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MUSTSEE@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.12:
Lloh19:
	adrp	x8, _SEEVALUE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SEEVALUE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cbnz	w8, LBB0_14
; %bb.13:
	add	w8, w27, w27, lsl #1
	lsl	w8, w8, #1
	ldr	w9, [x28]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	add	w3, w8, #10
Lloh22:
	adrp	x2, l_.str.2@PAGE
Lloh23:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x0, sp, #8
	mov	w1, #128
	mov	x27, x7
	bl	_snprintf
	ldrb	w8, [x26]
	ldr	x9, [x21]
Lloh24:
	adrp	x10, l_.str.4@PAGE
Lloh25:
	add	x10, x10, l_.str.4@PAGEOFF
Lloh26:
	adrp	x11, l_.str.3@PAGE
Lloh27:
	add	x11, x11, l_.str.3@PAGEOFF
	cmp	w8, #48
	csel	x1, x11, x10, eq
	add	x0, sp, #8
	blr	x9
	ldr	x8, [x21]
Lloh28:
	adrp	x0, l_.str.5@PAGE
Lloh29:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x24
	blr	x8
	mov	x7, x27
LBB0_14:
	mov	x0, x21
	mov	x1, x25
	mov	x2, x23
	mov	x3, x22
	mov	x4, x26
	mov	x5, x19
	mov	x6, x20
	bl	_r_print_format
	mov	x0, x21
	mov	x1, x26
	mov	x2, x19
	mov	w3, #0
	bl	_r_print_format_struct_size
	b	LBB0_4
LBB0_15:
	str	x24, [sp]
Lloh30:
	adrp	x0, l_.str.1@PAGE
Lloh31:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_STRUCTPTR,4,2                  ; @STRUCTPTR
	.comm	_NESTDEPTH,4,2                  ; @NESTDEPTH
	.comm	_STRUCTFLAG,4,2                 ; @STRUCTFLAG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Too much nested struct, recursion too deep...\n"

l_.str.1:                               ; @.str.1
	.asciz	"Undefined struct '%s'.\n"

	.comm	_MUSTSEE,8,3                    ; @MUSTSEE
	.comm	_SEEVALUE,4,2                   ; @SEEVALUE
l_.str.2:                               ; @.str.2
	.asciz	"%%%ds"

l_.str.3:                               ; @.str.3
	.asciz	"union"

l_.str.4:                               ; @.str.4
	.asciz	"struct"

l_.str.5:                               ; @.str.5
	.asciz	"<%s>\n"

	.no_dead_strip	_r_print_format_struct
.subsections_via_symbols
