	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x509_parse_ext_ext_key_usage
_x509_parse_ext_ext_key_usage:          ## @x509_parse_ext_ext_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-176(%rbp), %rdx
	movq	%rsi, %rdi
	movq	%r14, %rsi
	callq	_asn1_get_next
	movq	-176(%rbp), %rdx
	testq	%rax, %rax
	js	LBB0_3
## %bb.1:
	movq	_ASN1_CLASS_UNIVERSAL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_3
## %bb.2:
	movq	-168(%rbp), %rax
	movq	_ASN1_TAG_SEQUENCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	movslq	-160(%rbp), %r15
	leaq	(%rbx,%r14,4), %rax
	movq	-152(%rbp), %r12
	subq	%r12, %rax
	sarq	$2, %rax
	movl	$-1, %r14d
	cmpq	%r15, %rax
	jl	LBB0_20
## %bb.5:
	movq	%r12, -136(%rbp)
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_wpa_hexdump
	testl	%r15d, %r15d
	jle	LBB0_19
## %bb.6:
	leaq	(%r12,%r15,4), %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rsi
	subq	%r12, %rsi
	shrq	$2, %rsi
	movq	%r12, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	leaq	-144(%rbp), %r12
	movq	%r12, %rdx
	leaq	-136(%rbp), %rcx
	callq	_asn1_get_oid
	testq	%rax, %rax
	jne	LBB0_20
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_x509_any_ext_key_usage_oid
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	-128(%rbp), %rbx
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$80, %edx
	callq	_os_strlcpy
	movq	_X509_EXT_KEY_USAGE_ANY@GOTPCREL(%rip), %rax
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_x509_id_kp_server_auth_oid
	testq	%rax, %rax
	leaq	-128(%rbp), %rbx
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$80, %edx
	callq	_os_strlcpy
	movq	_X509_EXT_KEY_USAGE_SERVER_AUTH@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_x509_id_kp_client_auth_oid
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	$80, %edx
	callq	_os_strlcpy
	movq	_X509_EXT_KEY_USAGE_CLIENT_AUTH@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_x509_id_kp_ocsp_oid
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	$80, %edx
	callq	_os_strlcpy
	movq	_X509_EXT_KEY_USAGE_OCSP@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rax), %eax
	orl	%eax, 4(%r13)
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-136(%rbp), %r12
	cmpq	%r15, %r12
	jb	LBB0_7
	jmp	LBB0_19
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$80, %edx
	callq	_asn1_oid_to_str
	jmp	LBB0_18
LBB0_3:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-168(%rbp), %rcx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %r14d
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	movl	%r14d, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	_X509_EXT_EXT_KEY_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r13)
	xorl	%r14d, %r14d
	jmp	LBB0_20
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_CLASS_UNIVERSAL,8,3       ## @ASN1_CLASS_UNIVERSAL
	.comm	_ASN1_TAG_SEQUENCE,8,3          ## @ASN1_TAG_SEQUENCE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"X509: Expected SEQUENCE (ExtKeyUsageSyntax) - found class %d tag 0x%x"

	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.1:                               ## @.str.1
	.asciz	"X509: ExtKeyUsageSyntax"

L_.str.2:                               ## @.str.2
	.asciz	"anyExtendedKeyUsage"

	.comm	_X509_EXT_KEY_USAGE_ANY,4,2     ## @X509_EXT_KEY_USAGE_ANY
L_.str.3:                               ## @.str.3
	.asciz	"id-kp-serverAuth"

	.comm	_X509_EXT_KEY_USAGE_SERVER_AUTH,4,2 ## @X509_EXT_KEY_USAGE_SERVER_AUTH
L_.str.4:                               ## @.str.4
	.asciz	"id-kp-clientAuth"

	.comm	_X509_EXT_KEY_USAGE_CLIENT_AUTH,4,2 ## @X509_EXT_KEY_USAGE_CLIENT_AUTH
L_.str.5:                               ## @.str.5
	.asciz	"id-kp-OCSPSigning"

	.comm	_X509_EXT_KEY_USAGE_OCSP,4,2    ## @X509_EXT_KEY_USAGE_OCSP
L_.str.6:                               ## @.str.6
	.asciz	"ExtKeyUsage KeyPurposeId: %s"

	.comm	_X509_EXT_EXT_KEY_USAGE,4,2     ## @X509_EXT_EXT_KEY_USAGE
	.no_dead_strip	_x509_parse_ext_ext_key_usage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x509_parse_ext_ext_key_usage
_x509_parse_ext_ext_key_usage:          ; @x509_parse_ext_ext_key_usage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	add	x2, sp, #16
	mov	x0, x1
	mov	x1, x20
	bl	_asn1_get_next
	ldr	x2, [sp, #16]
	tbnz	x0, #63, LBB0_19
; %bb.1:
Lloh3:
	adrp	x8, _ASN1_CLASS_UNIVERSAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ASN1_CLASS_UNIVERSAL@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_19
; %bb.2:
	ldr	x8, [sp, #24]
Lloh6:
	adrp	x9, _ASN1_TAG_SEQUENCE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ASN1_TAG_SEQUENCE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.3:
	ldrsw	x22, [sp, #32]
	add	x8, x21, x20, lsl #2
	ldr	x25, [sp, #40]
	sub	x8, x8, x25
	cmp	x22, x8, asr #2
	b.gt	LBB0_20
; %bb.4:
	str	x25, [sp, #48]
Lloh9:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x25
	mov	x3, x22
	bl	_wpa_hexdump
	cmp	w22, #1
	b.lt	LBB0_23
; %bb.5:
	add	x26, x25, x22, lsl #2
Lloh14:
	adrp	x21, l_.str.4@PAGE
Lloh15:
	add	x21, x21, l_.str.4@PAGEOFF
Lloh16:
	adrp	x22, l_.str.3@PAGE
Lloh17:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh18:
	adrp	x27, _X509_EXT_KEY_USAGE_SERVER_AUTH@GOTPAGE
Lloh19:
	ldr	x27, [x27, _X509_EXT_KEY_USAGE_SERVER_AUTH@GOTPAGEOFF]
Lloh20:
	adrp	x20, _MSG_DEBUG@GOTPAGE
Lloh21:
	ldr	x20, [x20, _MSG_DEBUG@GOTPAGEOFF]
Lloh22:
	adrp	x23, l_.str.6@PAGE
Lloh23:
	add	x23, x23, l_.str.6@PAGEOFF
Lloh24:
	adrp	x28, _X509_EXT_KEY_USAGE_ANY@GOTPAGE
Lloh25:
	ldr	x28, [x28, _X509_EXT_KEY_USAGE_ANY@GOTPAGEOFF]
Lloh26:
	adrp	x24, l_.str.2@PAGE
Lloh27:
	add	x24, x24, l_.str.2@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	x8, x26, x25
	lsr	x1, x8, #2
	add	x2, sp, #8
	add	x3, sp, #48
	mov	x0, x25
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_asn1_get_oid
	cbnz	x0, LBB0_20
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #8
	bl	_x509_any_ext_key_usage_oid
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #56
	mov	x1, x24
	mov	w2, #80
	bl	_os_strlcpy
	ldr	w8, [x28]
	b	LBB0_16
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #8
	bl	_x509_id_kp_server_auth_oid
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #56
	mov	x1, x22
	mov	w2, #80
	bl	_os_strlcpy
	ldr	w8, [x27]
	b	LBB0_16
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #8
	bl	_x509_id_kp_client_auth_oid
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #56
	mov	x1, x21
	mov	w2, #80
	bl	_os_strlcpy
Lloh28:
	adrp	x8, _X509_EXT_KEY_USAGE_CLIENT_AUTH@GOTPAGE
Lloh29:
	ldr	x8, [x8, _X509_EXT_KEY_USAGE_CLIENT_AUTH@GOTPAGEOFF]
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #8
	bl	_x509_id_kp_ocsp_oid
	cbz	x0, LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #56
Lloh30:
	adrp	x1, l_.str.5@PAGE
Lloh31:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w2, #80
	bl	_os_strlcpy
Lloh32:
	adrp	x8, _X509_EXT_KEY_USAGE_OCSP@GOTPAGE
Lloh33:
	ldr	x8, [x8, _X509_EXT_KEY_USAGE_OCSP@GOTPAGEOFF]
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x8]
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x20]
	add	x2, sp, #56
	mov	x1, x23
	bl	_wpa_printf
	ldr	x25, [sp, #48]
	cmp	x25, x26
	b.lo	LBB0_6
	b	LBB0_23
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #8
	add	x1, sp, #56
	mov	w2, #80
	bl	_asn1_oid_to_str
	b	LBB0_17
LBB0_19:
Lloh34:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	ldr	x8, [sp, #24]
	str	x8, [sp]
Lloh37:
	adrp	x1, l_.str@PAGE
Lloh38:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
LBB0_20:
	mov	w0, #-1
LBB0_21:
	ldur	x8, [x29, #-88]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.22:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_23:
	mov	w0, #0
Lloh42:
	adrp	x8, _X509_EXT_EXT_KEY_USAGE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _X509_EXT_EXT_KEY_USAGE@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_21
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_CLASS_UNIVERSAL,8,3       ; @ASN1_CLASS_UNIVERSAL
	.comm	_ASN1_TAG_SEQUENCE,8,3          ; @ASN1_TAG_SEQUENCE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"X509: Expected SEQUENCE (ExtKeyUsageSyntax) - found class %d tag 0x%x"

	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.1:                               ; @.str.1
	.asciz	"X509: ExtKeyUsageSyntax"

l_.str.2:                               ; @.str.2
	.asciz	"anyExtendedKeyUsage"

	.comm	_X509_EXT_KEY_USAGE_ANY,4,2     ; @X509_EXT_KEY_USAGE_ANY
l_.str.3:                               ; @.str.3
	.asciz	"id-kp-serverAuth"

	.comm	_X509_EXT_KEY_USAGE_SERVER_AUTH,4,2 ; @X509_EXT_KEY_USAGE_SERVER_AUTH
l_.str.4:                               ; @.str.4
	.asciz	"id-kp-clientAuth"

	.comm	_X509_EXT_KEY_USAGE_CLIENT_AUTH,4,2 ; @X509_EXT_KEY_USAGE_CLIENT_AUTH
l_.str.5:                               ; @.str.5
	.asciz	"id-kp-OCSPSigning"

	.comm	_X509_EXT_KEY_USAGE_OCSP,4,2    ; @X509_EXT_KEY_USAGE_OCSP
l_.str.6:                               ; @.str.6
	.asciz	"ExtKeyUsage KeyPurposeId: %s"

	.comm	_X509_EXT_EXT_KEY_USAGE,4,2     ; @X509_EXT_EXT_KEY_USAGE
	.no_dead_strip	_x509_parse_ext_ext_key_usage
.subsections_via_symbols
