	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function choose_comp
_choose_comp:                           ## @choose_comp
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	xorl	%edx, %edx
	callq	_match_list
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.10:
	movq	%rbx, %rdi
	callq	_free
	movq	_SSH_ERR_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_1:
	movq	_SSH_ERR_NO_COMPRESS_ALG_MATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_3:
	movq	_COMP_DELAYED@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_COMP_ZLIB@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_COMP_NONE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	%rbx, (%r14)
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSH_ERR_NO_COMPRESS_ALG_MATCH,4,2 ## @SSH_ERR_NO_COMPRESS_ALG_MATCH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"zlib@openssh.com"

	.comm	_COMP_DELAYED,4,2               ## @COMP_DELAYED
L_.str.1:                               ## @.str.1
	.asciz	"zlib"

	.comm	_COMP_ZLIB,4,2                  ## @COMP_ZLIB
L_.str.2:                               ## @.str.2
	.asciz	"none"

	.comm	_COMP_NONE,4,2                  ## @COMP_NONE
	.comm	_SSH_ERR_INTERNAL_ERROR,4,2     ## @SSH_ERR_INTERNAL_ERROR
	.no_dead_strip	_choose_comp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function choose_comp
_choose_comp:                           ; @choose_comp
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, x1
	mov	x1, x2
	mov	x2, #0
	bl	_match_list
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.2:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.3:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.4:
	mov	x0, x20
	bl	_free
Lloh6:
	adrp	x8, _SSH_ERR_INTERNAL_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSH_ERR_INTERNAL_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_10
LBB0_5:
Lloh9:
	adrp	x8, _SSH_ERR_NO_COMPRESS_ALG_MATCH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SSH_ERR_NO_COMPRESS_ALG_MATCH@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_10
LBB0_6:
Lloh12:
	adrp	x8, _COMP_DELAYED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _COMP_DELAYED@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh14:
	adrp	x8, _COMP_ZLIB@GOTPAGE
Lloh15:
	ldr	x8, [x8, _COMP_ZLIB@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh16:
	adrp	x8, _COMP_NONE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _COMP_NONE@GOTPAGEOFF]
LBB0_9:
	mov	w0, #0
	ldr	w8, [x8]
	str	w8, [x19, #8]
	str	x20, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SSH_ERR_NO_COMPRESS_ALG_MATCH,4,2 ; @SSH_ERR_NO_COMPRESS_ALG_MATCH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"zlib@openssh.com"

	.comm	_COMP_DELAYED,4,2               ; @COMP_DELAYED
l_.str.1:                               ; @.str.1
	.asciz	"zlib"

	.comm	_COMP_ZLIB,4,2                  ; @COMP_ZLIB
l_.str.2:                               ; @.str.2
	.asciz	"none"

	.comm	_COMP_NONE,4,2                  ; @COMP_NONE
	.comm	_SSH_ERR_INTERNAL_ERROR,4,2     ; @SSH_ERR_INTERNAL_ERROR
	.no_dead_strip	_choose_comp
.subsections_via_symbols
