	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_COMP_add_compression_method ## -- Begin function SSL_COMP_add_compression_method
	.p2align	4, 0x90
_SSL_COMP_add_compression_method:       ## @SSL_COMP_add_compression_method
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$1, %r15d
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.1:
	movq	%rsi, %rbx
	movl	%edi, %r12d
	movq	%rsi, %rdi
	callq	_COMP_get_type
	movq	_NID_undef@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.2:
	leal	-256(%r12), %eax
	cmpl	$-64, %eax
	ja	LBB0_5
## %bb.3:
	movq	_SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SSL_R_COMPRESSION_ID_NOT_WITHIN_PRIVATE_RANGE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_CRYPTO_MEM_CHECK_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRYPTO_mem_ctrl
	movl	$16, %edi
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r14
	movl	%r12d, (%rax)
	movq	%rbx, 8(%rax)
	xorl	%eax, %eax
	callq	_load_builtin_compressions
	movq	_ssl_comp_methods@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.8:
	movq	%r14, %rsi
	callq	_sk_SSL_COMP_find
	testq	%rax, %rax
	js	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_OPENSSL_free
	movq	_CRYPTO_MEM_CHECK_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRYPTO_mem_ctrl
	movq	_SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SSL_R_DUPLICATE_COMPRESSION_ID@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_10:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	movq	%r14, %rsi
	callq	_sk_SSL_COMP_push
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	movq	_CRYPTO_MEM_CHECK_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRYPTO_mem_ctrl
	xorl	%r15d, %r15d
	jmp	LBB0_14
LBB0_12:
	movq	%r14, %rdi
	callq	_OPENSSL_free
LBB0_6:
	movq	_CRYPTO_MEM_CHECK_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRYPTO_mem_ctrl
	movq	_SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	callq	_SSLerr
LBB0_14:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NID_undef,8,3                  ## @NID_undef
	.comm	_SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD,4,2 ## @SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD
	.comm	_SSL_R_COMPRESSION_ID_NOT_WITHIN_PRIVATE_RANGE,4,2 ## @SSL_R_COMPRESSION_ID_NOT_WITHIN_PRIVATE_RANGE
	.comm	_CRYPTO_MEM_CHECK_DISABLE,4,2   ## @CRYPTO_MEM_CHECK_DISABLE
	.comm	_CRYPTO_MEM_CHECK_ENABLE,4,2    ## @CRYPTO_MEM_CHECK_ENABLE
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_ssl_comp_methods,8,3           ## @ssl_comp_methods
	.comm	_SSL_R_DUPLICATE_COMPRESSION_ID,4,2 ## @SSL_R_DUPLICATE_COMPRESSION_ID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_COMP_add_compression_method ; -- Begin function SSL_COMP_add_compression_method
	.p2align	2
_SSL_COMP_add_compression_method:       ; @SSL_COMP_add_compression_method
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	cbz	x1, LBB0_14
; %bb.1:
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_COMP_get_type
Lloh0:
	adrp	x8, _NID_undef@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NID_undef@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_14
; %bb.2:
	sub	w8, w21, #256
	cmn	w8, #64
	b.hi	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _SSL_R_COMPRESSION_ID_NOT_WITHIN_PRIVATE_RANGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_R_COMPRESSION_ID_NOT_WITHIN_PRIVATE_RANGE@GOTPAGEOFF]
	b	LBB0_13
LBB0_4:
Lloh8:
	adrp	x8, _CRYPTO_MEM_CHECK_DISABLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CRYPTO_MEM_CHECK_DISABLE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_CRYPTO_mem_ctrl
	mov	w0, #16
	bl	_OPENSSL_malloc
	cbz	x0, LBB0_12
; %bb.5:
	mov	x19, x0
	str	w21, [x0]
	str	x20, [x0, #8]
	bl	_load_builtin_compressions
Lloh11:
	adrp	x20, _ssl_comp_methods@GOTPAGE
Lloh12:
	ldr	x20, [x20, _ssl_comp_methods@GOTPAGEOFF]
	ldr	x0, [x20]
	cbz	x0, LBB0_11
; %bb.6:
	mov	x1, x19
	bl	_sk_SSL_COMP_find
	tbnz	x0, #63, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_OPENSSL_free
Lloh13:
	adrp	x8, _CRYPTO_MEM_CHECK_ENABLE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CRYPTO_MEM_CHECK_ENABLE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_CRYPTO_mem_ctrl
Lloh16:
	adrp	x8, _SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _SSL_R_DUPLICATE_COMPRESSION_ID@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SSL_R_DUPLICATE_COMPRESSION_ID@GOTPAGEOFF]
	b	LBB0_13
LBB0_8:
	ldr	x0, [x20]
	cbz	x0, LBB0_11
; %bb.9:
	mov	x1, x19
	bl	_sk_SSL_COMP_push
	cbz	w0, LBB0_11
; %bb.10:
Lloh21:
	adrp	x8, _CRYPTO_MEM_CHECK_ENABLE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CRYPTO_MEM_CHECK_ENABLE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_CRYPTO_mem_ctrl
	mov	w0, #0
	b	LBB0_15
LBB0_11:
	mov	x0, x19
	bl	_OPENSSL_free
LBB0_12:
Lloh24:
	adrp	x8, _CRYPTO_MEM_CHECK_ENABLE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CRYPTO_MEM_CHECK_ENABLE@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_CRYPTO_mem_ctrl
Lloh27:
	adrp	x8, _SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
LBB0_13:
	ldr	w1, [x8]
	bl	_SSLerr
LBB0_14:
	mov	w0, #1
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_NID_undef,8,3                  ; @NID_undef
	.comm	_SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD,4,2 ; @SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD
	.comm	_SSL_R_COMPRESSION_ID_NOT_WITHIN_PRIVATE_RANGE,4,2 ; @SSL_R_COMPRESSION_ID_NOT_WITHIN_PRIVATE_RANGE
	.comm	_CRYPTO_MEM_CHECK_DISABLE,4,2   ; @CRYPTO_MEM_CHECK_DISABLE
	.comm	_CRYPTO_MEM_CHECK_ENABLE,4,2    ; @CRYPTO_MEM_CHECK_ENABLE
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_ssl_comp_methods,8,3           ; @ssl_comp_methods
	.comm	_SSL_R_DUPLICATE_COMPRESSION_ID,4,2 ; @SSL_R_DUPLICATE_COMPRESSION_ID
.subsections_via_symbols
