	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hs20_set_osu_access_permission
_hs20_set_osu_access_permission:        ## @hs20_set_osu_access_permission
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-32(%rbp), %rsi
	callq	_stat
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movl	-24(%rbp), %esi
	movq	%r14, %rdi
	callq	_chmod
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %esi
	movq	%r14, %rdi
	callq	_lchown
	testq	%rax, %rax
	jns	LBB0_8
## %bb.5:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_6
LBB0_1:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	jmp	LBB0_7
LBB0_3:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_6:
	movq	%r14, %rdx
LBB0_7:
	callq	_wpa_printf
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot stat the OSU directory %s"

L_.str.1:                               ## @.str.1
	.asciz	"Cannot change the permissions for %s"

L_.str.2:                               ## @.str.2
	.asciz	"Cannot change the ownership for %s"

	.no_dead_strip	_hs20_set_osu_access_permission
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hs20_set_osu_access_permission
_hs20_set_osu_access_permission:        ; @hs20_set_osu_access_permission
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x1, sp
	bl	_stat
	tbnz	x0, #63, LBB0_4
; %bb.1:
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_chmod
	tbnz	x0, #63, LBB0_5
; %bb.2:
	ldp	w2, w1, [sp]
	mov	x0, x19
	bl	_lchown
	tbz	x0, #63, LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str.2@PAGE
Lloh4:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	b	LBB0_7
LBB0_5:
Lloh10:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	mov	x2, x19
LBB0_7:
	bl	_wpa_printf
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot stat the OSU directory %s"

l_.str.1:                               ; @.str.1
	.asciz	"Cannot change the permissions for %s"

l_.str.2:                               ; @.str.2
	.asciz	"Cannot change the ownership for %s"

	.no_dead_strip	_hs20_set_osu_access_permission
.subsections_via_symbols
