	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r3900_supply_register
_r3900_supply_register:                 ## @r3900_supply_register
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leal	-8(%r13), %eax
	cmpl	$-6, %eax
	jb	LBB0_28
## %bb.1:
	cmpl	$9, %ecx
	jne	LBB0_28
## %bb.2:
	movq	%rdi, %r15
	movq	_reg_table@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.3:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	movq	(%r12), %rax
	movq	24(%rax,%rbx), %rdi
	addq	$16, %rbx
	testq	%rdi, %rdi
	je	LBB0_28
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	callq	_strlen
	cmpl	%r13d, %eax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r12), %rax
	movq	8(%rax,%rbx), %rsi
	movq	%r15, %rdi
	movl	%r13d, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:
	movl	%r14d, %eax
	movq	(%r12), %rcx
	shlq	$4, %rax
	movl	(%rcx,%rax), %edi
	cmpl	$-1, %edi
	je	LBB0_28
## %bb.8:
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movb	(%rdx), %cl
	cmpb	$32, %cl
	jne	LBB0_10
## %bb.9:
	leaq	-58(%rbp), %rax
	jmp	LBB0_11
LBB0_10:
	leaq	-57(%rbp), %rax
	movb	%cl, -58(%rbp)
LBB0_11:
	movb	1(%rdx), %cl
	cmpb	$32, %cl
	je	LBB0_13
## %bb.12:
	movb	%cl, (%rax)
	incq	%rax
LBB0_13:
	movb	2(%rdx), %cl
	cmpb	$32, %cl
	je	LBB0_15
## %bb.14:
	movb	%cl, (%rax)
	incq	%rax
LBB0_15:
	movb	3(%rdx), %cl
	cmpb	$32, %cl
	je	LBB0_17
## %bb.16:
	movb	%cl, (%rax)
	incq	%rax
LBB0_17:
	movb	4(%rdx), %cl
	cmpb	$32, %cl
	je	LBB0_19
## %bb.18:
	movb	%cl, (%rax)
	incq	%rax
LBB0_19:
	movb	5(%rdx), %cl
	cmpb	$32, %cl
	je	LBB0_21
## %bb.20:
	movb	%cl, (%rax)
	incq	%rax
LBB0_21:
	movb	6(%rdx), %cl
	cmpb	$32, %cl
	je	LBB0_23
## %bb.22:
	movb	%cl, (%rax)
	incq	%rax
LBB0_23:
	movb	7(%rdx), %cl
	cmpb	$32, %cl
	je	LBB0_25
## %bb.24:
	movb	%cl, (%rax)
	incq	%rax
LBB0_25:
	movb	8(%rdx), %cl
	cmpb	$32, %cl
	je	LBB0_27
## %bb.26:
	movb	%cl, (%rax)
	incq	%rax
LBB0_27:
	movb	$0, (%rax)
	leaq	-58(%rbp), %rsi
	callq	_monitor_supply_register
LBB0_28:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_30
## %bb.29:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_reg_table,8,3                  ## @reg_table
	.no_dead_strip	_r3900_supply_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r3900_supply_register
_r3900_supply_register:                 ; @r3900_supply_register
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	sub	w8, w1, #8
	cmn	w8, #6
	ccmp	w3, #9, #0, hs
	b.ne	LBB0_26
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x22, _reg_table@GOTPAGE
Lloh4:
	ldr	x22, [x22, _reg_table@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_26
; %bb.2:
	mov	x19, x2
	mov	x20, x1
	mov	x24, #0
	mov	x23, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	ldr	x8, [x22]
	add	x8, x8, x24
	ldr	x0, [x8, #24]
	add	x24, x24, #16
	cbz	x0, LBB0_26
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_strlen
	cmp	w0, w20
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22]
	add	x8, x8, x24
	ldr	x1, [x8, #8]
	mov	x0, x21
	mov	x2, x20
	bl	_strncmp
	cbnz	x0, LBB0_3
; %bb.6:
	and	x8, x23, #0xffffffff
	ldr	x9, [x22]
	lsl	x8, x8, #4
	ldr	w0, [x9, x8]
	cmn	w0, #1
	b.eq	LBB0_26
; %bb.7:
	add	x8, sp, #14
	ldrb	w9, [x19]
	cmp	w9, #32
	b.eq	LBB0_9
; %bb.8:
	add	x8, x8, #1
	strb	w9, [sp, #14]
LBB0_9:
	ldrb	w9, [x19, #1]
	cmp	w9, #32
	b.eq	LBB0_11
; %bb.10:
	strb	w9, [x8], #1
LBB0_11:
	ldrb	w9, [x19, #2]
	cmp	w9, #32
	b.eq	LBB0_13
; %bb.12:
	strb	w9, [x8], #1
LBB0_13:
	ldrb	w9, [x19, #3]
	cmp	w9, #32
	b.eq	LBB0_15
; %bb.14:
	strb	w9, [x8], #1
LBB0_15:
	ldrb	w9, [x19, #4]
	cmp	w9, #32
	b.eq	LBB0_17
; %bb.16:
	strb	w9, [x8], #1
LBB0_17:
	ldrb	w9, [x19, #5]
	cmp	w9, #32
	b.eq	LBB0_19
; %bb.18:
	strb	w9, [x8], #1
LBB0_19:
	ldrb	w9, [x19, #6]
	cmp	w9, #32
	b.eq	LBB0_21
; %bb.20:
	strb	w9, [x8], #1
LBB0_21:
	ldrb	w9, [x19, #7]
	cmp	w9, #32
	b.eq	LBB0_23
; %bb.22:
	strb	w9, [x8], #1
LBB0_23:
	ldrb	w9, [x19, #8]
	cmp	w9, #32
	b.eq	LBB0_25
; %bb.24:
	strb	w9, [x8], #1
LBB0_25:
	strb	wzr, [x8]
	add	x1, sp, #14
	bl	_monitor_supply_register
LBB0_26:
	ldr	x8, [sp, #24]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_reg_table,8,3                  ; @reg_table
	.no_dead_strip	_r3900_supply_register
.subsections_via_symbols
