	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_genwqe_read_app_id             ## -- Begin function genwqe_read_app_id
	.p2align	4, 0x90
_genwqe_read_app_id:                    ## @genwqe_read_app_id
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_memset
	movl	%r15d, %edi
	movl	$4, %esi
	callq	_min
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	xorl	%r12d, %r12d
	movl	$24, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
	movl	%r15d, %edi
	movl	$4, %esi
	callq	_min
	addl	$-8, %ebx
	cmpl	%eax, %r14d
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%ebx, %ecx
	sarl	%cl, %r13d
	cmpb	$32, %r13b
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movsbl	%r13b, %edi
	callq	_isprint
	testq	%rax, %rax
	movl	$88, %eax
	cmovel	%eax, %r13d
	movslq	%r12d, %rax
	incl	%r12d
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movb	%r13b, (%rcx,%rax)
	jmp	LBB0_4
LBB0_5:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_genwqe_read_app_id             ; -- Begin function genwqe_read_app_id
	.p2align	2
_genwqe_read_app_id:                    ; @genwqe_read_app_id
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	ldr	w22, [x0]
	mov	x0, x1
	mov	w1, #0
	bl	_memset
	mov	x0, x19
	mov	w1, #4
	bl	_min
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.1:
	mov	w21, #0
	mov	w23, #0
	mov	w24, #24
	mov	w25, #88
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w23, w23, #1
	mov	x0, x19
	mov	w1, #4
	bl	_min
	sub	w24, w24, #8
	cmp	w23, w0
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	asr	w26, w22, w24
	and	w8, w26, #0xff
	cmp	w8, #32
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtb	w0, w26
	bl	_isprint
	cmp	x0, #0
	csel	w8, w25, w26, eq
	strb	w8, [x20, w21, sxtw]
	add	w21, w21, #1
	b	LBB0_2
LBB0_5:
	mov	w21, #0
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
