	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_cipher_set_padding_mode ## -- Begin function mbedtls_cipher_set_padding_mode
	.p2align	4, 0x90
_mbedtls_cipher_set_padding_mode:       ## @mbedtls_cipher_set_padding_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	_MBEDTLS_MODE_CBC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rdi), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	cmpl	$132, %esi
	jne	LBB0_5
## %bb.4:
	movq	$0, 8(%rdi)
	movq	_get_no_padding@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_MODE_CBC,8,3           ## @MBEDTLS_MODE_CBC
	.comm	_MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA,4,2 ## @MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA
	.comm	_get_no_padding,4,2             ## @get_no_padding
	.comm	_MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE,4,2 ## @MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE
	.comm	_add_one_and_zeros_padding,8,3  ## @add_one_and_zeros_padding
	.comm	_add_pkcs_padding,8,3           ## @add_pkcs_padding
	.comm	_add_zeros_and_len_padding,8,3  ## @add_zeros_and_len_padding
	.comm	_add_zeros_padding,8,3          ## @add_zeros_padding
	.comm	_get_one_and_zeros_padding,4,2  ## @get_one_and_zeros_padding
	.comm	_get_pkcs_padding,4,2           ## @get_pkcs_padding
	.comm	_get_zeros_and_len_padding,4,2  ## @get_zeros_and_len_padding
	.comm	_get_zeros_padding,4,2          ## @get_zeros_padding
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_cipher_set_padding_mode ; -- Begin function mbedtls_cipher_set_padding_mode
	.p2align	2
_mbedtls_cipher_set_padding_mode:       ; @mbedtls_cipher_set_padding_mode
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _MBEDTLS_MODE_CBC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_MODE_CBC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x0, #16]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	cmp	w1, #132
	b.ne	LBB0_5
; %bb.3:
	str	xzr, [x0, #8]
Lloh3:
	adrp	x9, _get_no_padding@GOTPAGE
Lloh4:
	ldr	x9, [x9, _get_no_padding@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [x0]
	mov	w0, #0
	ret
LBB0_4:
Lloh6:
	adrp	x8, _MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
LBB0_5:
Lloh9:
	adrp	x8, _MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_MODE_CBC,8,3           ; @MBEDTLS_MODE_CBC
	.comm	_MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA,4,2 ; @MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA
	.comm	_get_no_padding,4,2             ; @get_no_padding
	.comm	_MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE,4,2 ; @MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE
	.comm	_add_one_and_zeros_padding,8,3  ; @add_one_and_zeros_padding
	.comm	_add_pkcs_padding,8,3           ; @add_pkcs_padding
	.comm	_add_zeros_and_len_padding,8,3  ; @add_zeros_and_len_padding
	.comm	_add_zeros_padding,8,3          ; @add_zeros_padding
	.comm	_get_one_and_zeros_padding,4,2  ; @get_one_and_zeros_padding
	.comm	_get_pkcs_padding,4,2           ; @get_pkcs_padding
	.comm	_get_zeros_and_len_padding,4,2  ; @get_zeros_and_len_padding
	.comm	_get_zeros_padding,4,2          ; @get_zeros_padding
.subsections_via_symbols
