	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pwgets                         ## -- Begin function pwgets
	.p2align	4, 0x90
_pwgets:                                ## @pwgets
	.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, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %r14
	leal	-1(%r15), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	LJTI0_0(%rip), %r13
	movq	%rdi, %rbx
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	testl	%r15d, %r15d
	setle	%al
	movq	%rbx, %rcx
	subq	%r14, %rcx
	cmpq	-56(%rbp), %rcx                 ## 8-byte Folded Reload
	setl	%r12b
	orb	%al, %r12b
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=2
	testb	%r12b, %r12b
	jne	LBB0_10
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%eax, %eax
	callq	_getchar
                                        ## kill: def $eax killed $eax def $rax
	andl	$127, %eax
	leal	-8(%rax), %ecx
	cmpl	$15, %ecx
	ja	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=2
	movslq	(%r13,%rcx,4), %rcx
	addq	%r13, %rcx
	jmpq	*%rcx
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$127, %eax
	jne	LBB0_9
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=2
	cmpq	%r14, %rbx
	jbe	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	decq	%rbx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_1
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$8, %edi
	callq	_putchar
	movl	$32, %edi
	callq	_putchar
	movb	$8, %al
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movb	$10, %al
	movq	%r14, %rbx
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movzbl	%al, %edi
	callq	_putchar
	jmp	LBB0_1
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	1(%rbx), %rcx
	movb	%al, (%rbx)
	movq	%rcx, %rbx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_1
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movb	$42, %al
	movq	%rcx, %rbx
	jmp	LBB0_13
LBB0_8:
	movb	$0, (%rbx)
	movl	$10, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_putchar                        ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_12
	.long	L0_0_set_9
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pwgets                         ; -- Begin function pwgets
	.p2align	2
_pwgets:                                ; @pwgets
	.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
	mov	x21, x0
	sub	w23, w1, #1
Lloh0:
	adrp	x24, lJTI0_0@PAGE
Lloh1:
	add	x24, x24, lJTI0_0@PAGEOFF
	mov	x25, x0
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	sub	x8, x25, x21
	cmp	w20, #1
	ccmp	x8, x23, #8, ge
	cset	w22, lt
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=2
	cbnz	w22, LBB0_11
LBB0_3:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_getchar
	and	w8, w0, #0x7f
	sub	w9, w8, #8
	cmp	w9, #15
	b.hi	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	adr	x10, LBB0_2
	ldrb	w11, [x24, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=2
	cmp	w8, #127
	b.ne	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=2
	cmp	x25, x21
	b.ls	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x25, x25, #1
	cbnz	w19, LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w22, #8
	mov	w0, #8
	bl	_putchar
	mov	w0, #32
	bl	_putchar
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	w22, #10
	mov	x25, x21
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x22
	bl	_putchar
	b	LBB0_1
LBB0_11:                                ;   in Loop: Header=BB0_1 Depth=1
	strb	w8, [x25], #1
	cbnz	w19, LBB0_1
; %bb.12:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	w22, #42
	b	LBB0_10
LBB0_13:
	strb	wzr, [x25]
	mov	w0, #10
	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
	b	_putchar
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
.subsections_via_symbols
