	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_doumask                        ## -- Begin function doumask
	.p2align	4, 0x90
_doumask:                               ## @doumask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rbx
	movq	%rsi, %rdi
	callq	_USE
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.1:
	movsbl	(%rbx), %edi
	callq	_Isdigit
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx), %eax
	movl	%eax, %ecx
	andb	$-2, %cl
	cmpb	$56, %cl
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	(%rax,%r14,8), %r14d
	addl	$-48, %r14d
	movsbl	1(%rbx), %edi
	incq	%rbx
	callq	_Isdigit
	testq	%rax, %rax
	jne	LBB0_3
LBB0_5:
	cmpb	$0, (%rbx)
	jne	LBB0_8
## %bb.6:
	testl	%r14d, %r14d
	js	LBB0_8
## %bb.7:
	cmpl	$512, %r14d                     ## imm = 0x200
	jl	LBB0_9
LBB0_8:
	movq	_ERR_NAME@GOTPCREL(%rip), %rax
	movq	_ERR_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_stderror
LBB0_9:
	movl	%r14d, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_umask                          ## TAILCALL
LBB0_10:
	xorl	%edi, %edi
	callq	_umask
	movq	%rax, %rbx
	movl	%ebx, %edi
	callq	_umask
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_xprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%o\n"

	.comm	_ERR_NAME,4,2                   ## @ERR_NAME
	.comm	_ERR_MASK,4,2                   ## @ERR_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_doumask                        ; -- Begin function doumask
	.p2align	2
_doumask:                               ; @doumask
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x20, [x0, #8]
	mov	x0, x1
	bl	_USE
	cbz	x20, LBB0_9
; %bb.1:
	ldrsb	w0, [x20]
	bl	_Isdigit
	mov	w19, #0
	cbz	x0, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w8, [x20]
	and	w9, w8, #0xfffffffe
	cmp	w9, #56
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrsb	w0, [x20, #1]!
	add	w8, w8, w19, lsl #3
	sub	w19, w8, #48
	bl	_Isdigit
	cbnz	x0, LBB0_2
LBB0_4:
	ldrb	w8, [x20]
	cbnz	w8, LBB0_7
; %bb.5:
	tbnz	w19, #31, LBB0_7
; %bb.6:
	cmp	w19, #512
	b.lt	LBB0_8
LBB0_7:
Lloh0:
	adrp	x8, _ERR_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ERR_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ERR_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_stderror
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_umask
LBB0_9:
	mov	w0, #0
	bl	_umask
	mov	x19, x0
	bl	_umask
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_xprintf
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%o\n"

	.comm	_ERR_NAME,4,2                   ; @ERR_NAME
	.comm	_ERR_MASK,4,2                   ; @ERR_MASK
.subsections_via_symbols
