	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_x509write_csr_set_key_usage ## -- Begin function mbedtls_x509write_csr_set_key_usage
	.p2align	4, 0x90
_mbedtls_x509write_csr_set_key_usage:   ## @mbedtls_x509write_csr_set_key_usage
	.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
	movq	%rdi, %r14
	movb	%sil, -17(%rbp)
	leaq	-17(%rbp), %rax
	movq	%rax, -32(%rbp)
	leaq	-32(%rbp), %rdi
	leaq	-21(%rbp), %rsi
	leaq	-17(%rbp), %rdx
	movl	$7, %ecx
	callq	_mbedtls_asn1_write_bitstring
	cmpl	$4, %eax
	jne	LBB0_2
## %bb.1:
	movq	_MBEDTLS_OID_KEY_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_MBEDTLS_OID_SIZE
	leaq	-21(%rbp), %rcx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	$4, %r8d
	callq	_mbedtls_x509write_csr_set_extension
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_OID_KEY_USAGE,4,2      ## @MBEDTLS_OID_KEY_USAGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_x509write_csr_set_key_usage ; -- Begin function mbedtls_x509write_csr_set_key_usage
	.p2align	2
_mbedtls_x509write_csr_set_key_usage:   ; @mbedtls_x509write_csr_set_key_usage
	.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, x0
	strb	w1, [sp, #15]
	add	x8, sp, #11
	add	x8, x8, #4
	str	x8, [sp]
	mov	x0, sp
	add	x1, sp, #11
	add	x2, sp, #15
	mov	w3, #7
	bl	_mbedtls_asn1_write_bitstring
	cmp	w0, #4
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MBEDTLS_OID_KEY_USAGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_OID_KEY_USAGE@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_MBEDTLS_OID_SIZE
	mov	x2, x0
	add	x3, sp, #11
	mov	x0, x19
	mov	x1, x20
	mov	w4, #4
	bl	_mbedtls_x509write_csr_set_extension
LBB0_2:
	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	_MBEDTLS_OID_KEY_USAGE,4,2      ; @MBEDTLS_OID_KEY_USAGE
.subsections_via_symbols
