	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_trivialp                  ## -- Begin function test_trivialp
	.p2align	4, 0x90
_test_trivialp:                         ## @test_trivialp
	.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
	movl	%edx, %r14d
	movq	%rdi, %rax
	movq	%rsi, %rdi
	movq	%rax, %rsi
	callq	_iconv_open
	movq	%rax, %rbx
	xorl	%edi, %edi
	cmpq	$-1, %rax
	setne	%dil
	callq	_ATF_REQUIRE
	movq	_ICONV_TRIVIALP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_iconvctl
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ATF_REQUIRE
	xorl	%edi, %edi
	cmpl	%r14d, -20(%rbp)
	sete	%dil
	callq	_ATF_REQUIRE
	movq	%rbx, %rdi
	callq	_iconv_close
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ATF_REQUIRE
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICONV_TRIVIALP,4,2             ## @ICONV_TRIVIALP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_trivialp                  ; -- Begin function test_trivialp
	.p2align	2
_test_trivialp:                         ; @test_trivialp
	.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, x2
	mov	x8, x0
	mov	x0, x1
	mov	x1, x8
	bl	_iconv_open
	mov	x20, x0
	cmn	x0, #1
	cset	w0, ne
	bl	_ATF_REQUIRE
Lloh0:
	adrp	x8, _ICONV_TRIVIALP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICONV_TRIVIALP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x20
	bl	_iconvctl
	cmp	w0, #0
	cset	w0, eq
	bl	_ATF_REQUIRE
	ldr	w8, [sp, #12]
	cmp	w8, w19
	cset	w0, eq
	bl	_ATF_REQUIRE
	mov	x0, x20
	bl	_iconv_close
	cmp	w0, #0
	cset	w0, eq
	bl	_ATF_REQUIRE
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ICONV_TRIVIALP,4,2             ; @ICONV_TRIVIALP
.subsections_via_symbols
