	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function post_test
_post_test:                             ## @post_test
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	leaq	-12(%rbp), %rdi
	movl	$1, %esi
	callq	_ksem_init
	testq	%rax, %rax
	js	LBB0_6
## %bb.1:
	movl	-12(%rbp), %edi
	movl	$1, %esi
	callq	_checkvalue
	movl	-12(%rbp), %edi
	testq	%rax, %rax
	js	LBB0_7
## %bb.2:
	callq	_ksem_post
	testq	%rax, %rax
	js	LBB0_8
## %bb.3:
	movl	-12(%rbp), %edi
	movl	$2, %esi
	callq	_checkvalue
	movq	%rax, %rbx
	movl	-12(%rbp), %edi
	callq	_ksem_destroy
	testq	%rbx, %rbx
	js	LBB0_11
## %bb.4:
	testq	%rax, %rax
	js	LBB0_9
## %bb.5:
	xorl	%eax, %eax
	callq	_pass
	jmp	LBB0_11
LBB0_6:
	leaq	L_.str(%rip), %rdi
LBB0_10:
	callq	_fail_errno
	jmp	LBB0_11
LBB0_7:
	callq	_ksem_destroy
	jmp	LBB0_11
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	callq	_fail_errno
	movl	-12(%rbp), %edi
	callq	_ksem_destroy
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ksem_init"

L_.str.1:                               ## @.str.1
	.asciz	"ksem_post"

L_.str.2:                               ## @.str.2
	.asciz	"ksem_destroy"

	.no_dead_strip	_post_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function post_test
_post_test:                             ; @post_test
	.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
	add	x0, sp, #12
	mov	w1, #1
	bl	_ksem_init
	tbnz	x0, #63, LBB0_6
; %bb.1:
	ldr	w0, [sp, #12]
	mov	w1, #1
	bl	_checkvalue
	mov	x8, x0
	ldr	w0, [sp, #12]
	tbnz	x8, #63, LBB0_8
; %bb.2:
	bl	_ksem_post
	tbnz	x0, #63, LBB0_9
; %bb.3:
	ldr	w0, [sp, #12]
	mov	w1, #2
	bl	_checkvalue
	mov	x19, x0
	ldr	w0, [sp, #12]
	bl	_ksem_destroy
	tbnz	x19, #63, LBB0_10
; %bb.4:
	tbnz	x0, #63, LBB0_11
; %bb.5:
	bl	_pass
	b	LBB0_10
LBB0_6:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
LBB0_7:
	bl	_fail_errno
	b	LBB0_10
LBB0_8:
	bl	_ksem_destroy
	b	LBB0_10
LBB0_9:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fail_errno
	ldr	w0, [sp, #12]
	bl	_ksem_destroy
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_11:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ksem_init"

l_.str.1:                               ; @.str.1
	.asciz	"ksem_post"

l_.str.2:                               ; @.str.2
	.asciz	"ksem_destroy"

	.no_dead_strip	_post_test
.subsections_via_symbols
