	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___printf_render_str            ## -- Begin function __printf_render_str
	.p2align	4, 0x90
___printf_render_str:                   ## @__printf_render_str
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	cmpq	$0, 8(%rsi)
	jne	LBB0_2
## %bb.1:
	cmpb	$83, (%r15)
	jne	LBB0_7
LBB0_2:
	movq	(%rdx), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.5:
	movl	4(%r15), %esi
	callq	___wcsconv
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	___printf_out
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_free
	movl	%r14d, %eax
	jmp	LBB0_10
LBB0_9:
	movl	$-1, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	(%rdx), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.8:
	movq	%rbx, %rdi
	callq	_strlen
	movl	4(%r15), %edx
	cmpl	%eax, %edx
	movl	%eax, %ecx
	cmovll	%edx, %ecx
	testl	%edx, %edx
	cmovsl	%eax, %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$6, %ecx
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___printf_out                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(null)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___printf_render_str            ; -- Begin function __printf_render_str
	.p2align	2
___printf_render_str:                   ; @__printf_render_str
	.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, x1
	mov	x20, x0
	ldr	x8, [x1, #8]
	cbnz	x8, LBB0_2
; %bb.1:
	ldrb	w8, [x19]
	cmp	w8, #83
	b.ne	LBB0_7
LBB0_2:
	ldr	x8, [x2]
	ldr	x0, [x8]
	cbz	x0, LBB0_9
; %bb.3:
	ldr	w1, [x19, #4]
	bl	___wcsconv
	cbz	x0, LBB0_5
; %bb.4:
	mov	x21, x0
	bl	_strlen
	mov	x3, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	___printf_out
	mov	x19, x0
	mov	x0, x21
	bl	_free
	mov	x0, x19
	b	LBB0_6
LBB0_5:
	mov	w0, #-1
LBB0_6:
	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
LBB0_7:
	ldr	x8, [x2]
	ldr	x21, [x8]
	cbz	x21, LBB0_9
; %bb.8:
	mov	x0, x21
	bl	_strlen
	ldr	w8, [x19, #4]
	cmp	w8, w0
	mov	w9, #-1
	ccmp	w8, w9, #4, lt
	csel	w3, w8, w0, gt
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	b	LBB0_10
LBB0_9:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	mov	w3, #6
LBB0_10:
	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	___printf_out
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(null)"

.subsections_via_symbols
