	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hx509_crypto_set_padding       ## -- Begin function hx509_crypto_set_padding
	.p2align	4, 0x90
_hx509_crypto_set_padding:              ## @hx509_crypto_set_padding
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$129, %esi
	je	LBB0_4
## %bb.1:
	cmpl	$128, %esi
	jne	LBB0_5
## %bb.2:
	movq	_PADDING_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%rdi), %eax
	movl	%eax, (%rdi)
	movq	_PADDING_PKCS7@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_4:
	movq	_PADDING_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%rdi), %eax
	movl	%eax, (%rdi)
	movq	_PADDING_NONE@GOTPCREL(%rip), %rcx
LBB0_3:
	orl	(%rcx), %eax
	movl	%eax, (%rdi)
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	__hx509_abort                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PADDING_FLAGS,4,2              ## @PADDING_FLAGS
	.comm	_PADDING_PKCS7,4,2              ## @PADDING_PKCS7
	.comm	_PADDING_NONE,4,2               ## @PADDING_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid padding"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hx509_crypto_set_padding       ; -- Begin function hx509_crypto_set_padding
	.p2align	2
_hx509_crypto_set_padding:              ; @hx509_crypto_set_padding
	.cfi_startproc
; %bb.0:
	cmp	w1, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w1, #128
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _PADDING_FLAGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PADDING_FLAGS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	bic	w8, w9, w8
	str	w8, [x0]
Lloh3:
	adrp	x9, _PADDING_PKCS7@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PADDING_PKCS7@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _PADDING_FLAGS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PADDING_FLAGS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x0]
	bic	w8, w9, w8
	str	w8, [x0]
Lloh8:
	adrp	x9, _PADDING_NONE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PADDING_NONE@GOTPAGEOFF]
LBB0_4:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x0]
	ret
LBB0_5:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	b	__hx509_abort
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PADDING_FLAGS,4,2              ; @PADDING_FLAGS
	.comm	_PADDING_PKCS7,4,2              ; @PADDING_PKCS7
	.comm	_PADDING_NONE,4,2               ; @PADDING_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid padding"

.subsections_via_symbols
