	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_access
_set_access:                            ## @set_access
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_ACCLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_memset
	movq	_ACC_READ@GOTPCREL(%rip), %rax
	testw	%r15w, (%rax)
	je	LBB0_2
## %bb.1:
	movb	$114, (%r14)
	movl	$1, %ebx
LBB0_2:
	movq	_ACC_WRITE@GOTPCREL(%rip), %rax
	testw	%r15w, (%rax)
	je	LBB0_4
## %bb.3:
	movl	%ebx, %eax
	incl	%ebx
	movb	$119, (%r14,%rax)
LBB0_4:
	movq	_ACC_MKNOD@GOTPCREL(%rip), %rax
	testw	%r15w, (%rax)
	je	LBB0_6
## %bb.5:
	movl	%ebx, %eax
	movb	$109, (%r14,%rax)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACCLEN,4,2                     ## @ACCLEN
	.comm	_ACC_READ,2,1                   ## @ACC_READ
	.comm	_ACC_WRITE,2,1                  ## @ACC_WRITE
	.comm	_ACC_MKNOD,2,1                  ## @ACC_MKNOD
	.no_dead_strip	_set_access
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_access
_set_access:                            ; @set_access
	.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	x20, x1
	mov	x19, x0
	and	w21, w1, #0xffff
Lloh0:
	adrp	x8, _ACCLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACCLEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_memset
Lloh3:
	adrp	x8, _ACC_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ACC_READ@GOTPAGEOFF]
	ldrh	w8, [x8]
	and	w8, w8, w20
	tst	w8, #0xffff
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #114
	strb	w8, [x19]
	mov	w8, #1
	b	LBB0_3
LBB0_2:
	mov	w8, #0
LBB0_3:
Lloh5:
	adrp	x9, _ACC_WRITE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ACC_WRITE@GOTPAGEOFF]
	ldrh	w9, [x9]
	tst	w9, w21
	b.eq	LBB0_5
; %bb.4:
	mov	w9, #119
	strb	w9, [x19, w8, uxtw]
	add	w8, w8, #1
LBB0_5:
Lloh7:
	adrp	x9, _ACC_MKNOD@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ACC_MKNOD@GOTPAGEOFF]
	ldrh	w9, [x9]
	tst	w9, w21
	b.eq	LBB0_7
; %bb.6:
	mov	w9, #109
	strb	w9, [x19, w8, uxtw]
LBB0_7:
	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
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ACCLEN,4,2                     ; @ACCLEN
	.comm	_ACC_READ,2,1                   ; @ACC_READ
	.comm	_ACC_WRITE,2,1                  ; @ACC_WRITE
	.comm	_ACC_MKNOD,2,1                  ; @ACC_MKNOD
	.no_dead_strip	_set_access
.subsections_via_symbols
