	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_pk_setup_rsa_alt       ## -- Begin function mbedtls_pk_setup_rsa_alt
	.p2align	4, 0x90
_mbedtls_pk_setup_rsa_alt:              ## @mbedtls_pk_setup_rsa_alt
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdi, %r14
	cmpq	$0, 8(%rdi)
	je	LBB0_5
LBB0_2:
	movq	_MBEDTLS_ERR_PK_BAD_INPUT_DATA@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rsi, %r13
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	_mbedtls_rsa_alt_info@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	*(%rcx)
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_mbedtls_rsa_alt_info@GOTPCREL(%rip), %rcx
	movq	%rcx, 8(%r14)
	movq	%r13, 16(%rax)
	movl	%r12d, 8(%rax)
	movl	%r15d, 4(%rax)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	jmp	LBB0_4
LBB0_7:
	movq	_MBEDTLS_ERR_PK_ALLOC_FAILED@GOTPCREL(%rip), %rax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_mbedtls_rsa_alt_info,8,3       ## @mbedtls_rsa_alt_info
	.comm	_MBEDTLS_ERR_PK_BAD_INPUT_DATA,4,2 ## @MBEDTLS_ERR_PK_BAD_INPUT_DATA
	.comm	_MBEDTLS_ERR_PK_ALLOC_FAILED,4,2 ## @MBEDTLS_ERR_PK_ALLOC_FAILED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_pk_setup_rsa_alt       ; -- Begin function mbedtls_pk_setup_rsa_alt
	.p2align	2
_mbedtls_pk_setup_rsa_alt:              ; @mbedtls_pk_setup_rsa_alt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x0, LBB0_2
; %bb.1:
	mov	x23, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _MBEDTLS_ERR_PK_BAD_INPUT_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_ERR_PK_BAD_INPUT_DATA@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
Lloh2:
	adrp	x24, _mbedtls_rsa_alt_info@GOTPAGE
Lloh3:
	ldr	x24, [x24, _mbedtls_rsa_alt_info@GOTPAGEOFF]
	ldr	x8, [x24]
	blr	x8
	str	x0, [x23]
	cbz	x0, LBB0_7
; %bb.6:
	mov	x8, x0
	mov	w0, #0
	str	x24, [x23, #8]
	str	x22, [x8, #16]
	stp	w20, w21, [x8, #4]
	str	w19, [x8]
	b	LBB0_4
LBB0_7:
Lloh4:
	adrp	x8, _MBEDTLS_ERR_PK_ALLOC_FAILED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MBEDTLS_ERR_PK_ALLOC_FAILED@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_mbedtls_rsa_alt_info,8,3       ; @mbedtls_rsa_alt_info
	.comm	_MBEDTLS_ERR_PK_BAD_INPUT_DATA,4,2 ; @MBEDTLS_ERR_PK_BAD_INPUT_DATA
	.comm	_MBEDTLS_ERR_PK_ALLOC_FAILED,4,2 ; @MBEDTLS_ERR_PK_ALLOC_FAILED
.subsections_via_symbols
