	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function type_bits_valid
_type_bits_valid:                       ## @type_bits_valid
	.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
	movq	%rdx, %rbx
	movq	_KEY_UNSPEC@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_key_type_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_2:
	cmpq	$0, (%rbx)
	jne	LBB0_4
## %bb.3:
	movq	_DEFAULT_BITS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KEY_UNSPEC,4,2                 ## @KEY_UNSPEC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown key type %s"

	.comm	_key_type_name,4,2              ## @key_type_name
	.comm	_DEFAULT_BITS,8,3               ## @DEFAULT_BITS
	.comm	_DEFAULT_BITS_DSA,8,3           ## @DEFAULT_BITS_DSA
	.comm	_DEFAULT_BITS_ECDSA,8,3         ## @DEFAULT_BITS_ECDSA
	.comm	_OPENSSL_DSA_MAX_MODULUS_BITS,8,3 ## @OPENSSL_DSA_MAX_MODULUS_BITS
	.comm	_OPENSSL_RSA_MAX_MODULUS_BITS,8,3 ## @OPENSSL_RSA_MAX_MODULUS_BITS
	.comm	_SSH_RSA_MINIMUM_MODULUS_SIZE,8,3 ## @SSH_RSA_MINIMUM_MODULUS_SIZE
	.no_dead_strip	_type_bits_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function type_bits_valid
_type_bits_valid:                       ; @type_bits_valid
	.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
Lloh0:
	adrp	x8, _KEY_UNSPEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEY_UNSPEC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _key_type_name@GOTPAGE
Lloh4:
	ldr	x8, [x8, _key_type_name@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal
LBB0_2:
	ldr	x8, [x19]
	cbnz	x8, LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _DEFAULT_BITS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DEFAULT_BITS@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_4:
	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
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_KEY_UNSPEC,4,2                 ; @KEY_UNSPEC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown key type %s"

	.comm	_key_type_name,4,2              ; @key_type_name
	.comm	_DEFAULT_BITS,8,3               ; @DEFAULT_BITS
	.comm	_DEFAULT_BITS_DSA,8,3           ; @DEFAULT_BITS_DSA
	.comm	_DEFAULT_BITS_ECDSA,8,3         ; @DEFAULT_BITS_ECDSA
	.comm	_OPENSSL_DSA_MAX_MODULUS_BITS,8,3 ; @OPENSSL_DSA_MAX_MODULUS_BITS
	.comm	_OPENSSL_RSA_MAX_MODULUS_BITS,8,3 ; @OPENSSL_RSA_MAX_MODULUS_BITS
	.comm	_SSH_RSA_MINIMUM_MODULUS_SIZE,8,3 ; @SSH_RSA_MINIMUM_MODULUS_SIZE
	.no_dead_strip	_type_bits_valid
.subsections_via_symbols
