	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_construct_ctos_status_request ## -- Begin function tls_construct_ctos_status_request
	.p2align	4, 0x90
_tls_construct_ctos_status_request:     ## @tls_construct_ctos_status_request
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rcx, %rcx
	jne	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	_TLSEXT_STATUSTYPE_ocsp@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_1
## %bb.3:
	movq	%rsi, %r15
	movq	_TLSEXT_TYPE_status_request@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_WPACKET_put_bytes_u16
	testl	%eax, %eax
	je	LBB0_21
## %bb.4:
	movq	%r15, %rdi
	callq	_WPACKET_start_sub_packet_u16
	testl	%eax, %eax
	je	LBB0_21
## %bb.5:
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_WPACKET_put_bytes_u8
	testl	%eax, %eax
	je	LBB0_21
## %bb.6:
	movq	%r15, %rdi
	callq	_WPACKET_start_sub_packet_u16
	testl	%eax, %eax
	je	LBB0_21
## %bb.7:
	movl	16(%r14), %edi
	callq	_sk_OCSP_RESPID_num
	testl	%eax, %eax
	jle	LBB0_13
## %bb.8:
	xorl	%r13d, %r13d
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%r14), %edi
	movl	%r13d, %esi
	callq	_sk_OCSP_RESPID_value
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_i2d_OCSP_RESPID
	testl	%eax, %eax
	jle	LBB0_21
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%eax, %r12d
	movq	%r15, %rdi
	movl	%eax, %esi
	leaq	-48(%rbp), %rdx
	callq	_WPACKET_sub_allocate_bytes_u16
	testl	%eax, %eax
	je	LBB0_21
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rsi
	callq	_i2d_OCSP_RESPID
	cmpl	%r12d, %eax
	jne	LBB0_21
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	incl	%r13d
	movl	16(%r14), %edi
	callq	_sk_OCSP_RESPID_num
	cmpl	%eax, %r13d
	jl	LBB0_9
LBB0_13:
	movq	%r15, %rdi
	callq	_WPACKET_close
	testl	%eax, %eax
	je	LBB0_21
## %bb.14:
	movq	%r15, %rdi
	callq	_WPACKET_start_sub_packet_u16
	testl	%eax, %eax
	je	LBB0_21
## %bb.15:
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.16:
	xorl	%esi, %esi
	callq	_i2d_X509_EXTENSIONS
	testl	%eax, %eax
	js	LBB0_21
## %bb.17:
	movl	%eax, %ebx
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_WPACKET_allocate_bytes
	testl	%eax, %eax
	je	LBB0_21
## %bb.18:
	movq	8(%r14), %rdi
	leaq	-48(%rbp), %rsi
	callq	_i2d_X509_EXTENSIONS
	cmpl	%ebx, %eax
	jne	LBB0_21
LBB0_19:
	movq	%r15, %rdi
	callq	_WPACKET_close
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:
	movq	%r15, %rdi
	callq	_WPACKET_close
	testl	%eax, %eax
	je	LBB0_21
## %bb.22:
	movq	_EXT_RETURN_SENT@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_1:
	movq	_EXT_RETURN_NOT_SENT@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CTOS_STATUS_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_SSLfatal
	movq	_EXT_RETURN_FAIL@GOTPCREL(%rip), %rax
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_EXT_RETURN_NOT_SENT,4,2        ## @EXT_RETURN_NOT_SENT
	.comm	_TLSEXT_STATUSTYPE_ocsp,8,3     ## @TLSEXT_STATUSTYPE_ocsp
	.comm	_TLSEXT_TYPE_status_request,4,2 ## @TLSEXT_TYPE_status_request
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_CONSTRUCT_CTOS_STATUS_REQUEST,4,2 ## @SSL_F_TLS_CONSTRUCT_CTOS_STATUS_REQUEST
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_EXT_RETURN_FAIL,4,2            ## @EXT_RETURN_FAIL
	.comm	_EXT_RETURN_SENT,4,2            ## @EXT_RETURN_SENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_construct_ctos_status_request ; -- Begin function tls_construct_ctos_status_request
	.p2align	2
_tls_construct_ctos_status_request:     ; @tls_construct_ctos_status_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbnz	x3, LBB0_21
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x21, _TLSEXT_STATUSTYPE_ocsp@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TLSEXT_STATUSTYPE_ocsp@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.2:
	mov	x20, x1
Lloh2:
	adrp	x8, _TLSEXT_TYPE_status_request@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TLSEXT_TYPE_status_request@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_WPACKET_put_bytes_u16
	cbz	w0, LBB0_23
; %bb.3:
	mov	x0, x20
	bl	_WPACKET_start_sub_packet_u16
	cbz	w0, LBB0_23
; %bb.4:
	ldr	x1, [x21]
	mov	x0, x20
	bl	_WPACKET_put_bytes_u8
	cbz	w0, LBB0_23
; %bb.5:
	mov	x0, x20
	bl	_WPACKET_start_sub_packet_u16
	cbz	w0, LBB0_23
; %bb.6:
	ldr	w0, [x19, #16]
	bl	_sk_OCSP_RESPID_num
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.7:
	mov	w21, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #16]
	mov	x1, x21
	bl	_sk_OCSP_RESPID_value
	mov	x22, x0
	mov	x1, #0
	bl	_i2d_OCSP_RESPID
	cmp	w0, #1
	b.lt	LBB0_23
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x23, x0
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x23
	bl	_WPACKET_sub_allocate_bytes_u16
	cbz	w0, LBB0_23
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x1, sp, #8
	mov	x0, x22
	bl	_i2d_OCSP_RESPID
	cmp	w0, w23
	b.ne	LBB0_23
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	add	w21, w21, #1
	ldr	w0, [x19, #16]
	bl	_sk_OCSP_RESPID_num
	cmp	w21, w0
	b.lt	LBB0_8
LBB0_12:
	mov	x0, x20
	bl	_WPACKET_close
	cbz	w0, LBB0_23
; %bb.13:
	mov	x0, x20
	bl	_WPACKET_start_sub_packet_u16
	cbz	w0, LBB0_23
; %bb.14:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_18
; %bb.15:
	mov	x1, #0
	bl	_i2d_X509_EXTENSIONS
	tbnz	w0, #31, LBB0_23
; %bb.16:
	mov	x21, x0
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x21
	bl	_WPACKET_allocate_bytes
	cbz	w0, LBB0_23
; %bb.17:
	ldr	x0, [x19, #8]
	add	x1, sp, #8
	bl	_i2d_X509_EXTENSIONS
	cmp	w0, w21
	b.ne	LBB0_23
LBB0_18:
	mov	x0, x20
	bl	_WPACKET_close
	cbz	w0, LBB0_23
; %bb.19:
	mov	x0, x20
	bl	_WPACKET_close
	cbz	w0, LBB0_23
; %bb.20:
Lloh5:
	adrp	x8, _EXT_RETURN_SENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EXT_RETURN_SENT@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:
Lloh7:
	adrp	x8, _EXT_RETURN_NOT_SENT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EXT_RETURN_NOT_SENT@GOTPAGEOFF]
LBB0_22:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_23:
Lloh9:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _SSL_F_TLS_CONSTRUCT_CTOS_STATUS_REQUEST@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SSL_F_TLS_CONSTRUCT_CTOS_STATUS_REQUEST@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
Lloh18:
	adrp	x8, _EXT_RETURN_FAIL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EXT_RETURN_FAIL@GOTPAGEOFF]
	b	LBB0_22
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EXT_RETURN_NOT_SENT,4,2        ; @EXT_RETURN_NOT_SENT
	.comm	_TLSEXT_STATUSTYPE_ocsp,8,3     ; @TLSEXT_STATUSTYPE_ocsp
	.comm	_TLSEXT_TYPE_status_request,4,2 ; @TLSEXT_TYPE_status_request
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_CONSTRUCT_CTOS_STATUS_REQUEST,4,2 ; @SSL_F_TLS_CONSTRUCT_CTOS_STATUS_REQUEST
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_EXT_RETURN_FAIL,4,2            ; @EXT_RETURN_FAIL
	.comm	_EXT_RETURN_SENT,4,2            ; @EXT_RETURN_SENT
.subsections_via_symbols
