	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_options_buf
_prepare_options_buf:                   ## @prepare_options_buf
	.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
	movl	%esi, %r13d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_sshbuf_reset
	movq	_OPTIONS_CRITICAL@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_certflags_command@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_add_string_option
LBB0_3:
	movq	_OPTIONS_EXTENSIONS@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_14
## %bb.4:
	movq	_certflags_flags@GOTPCREL(%rip), %rbx
	movq	_CERTOPT_X_FWD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_add_flag_option
	movq	_OPTIONS_EXTENSIONS@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_14
LBB0_6:
	movq	_CERTOPT_AGENT_FWD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_add_flag_option
	movq	_OPTIONS_EXTENSIONS@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_14
LBB0_8:
	movq	_CERTOPT_PORT_FWD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_add_flag_option
	movq	_OPTIONS_EXTENSIONS@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_14
LBB0_10:
	movq	_CERTOPT_PTY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_12
## %bb.11:
	leaq	L_.str.4(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_add_flag_option
	movq	_OPTIONS_EXTENSIONS@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_14
LBB0_12:
	movq	_CERTOPT_USER_RC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_14
## %bb.13:
	leaq	L_.str.5(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_add_flag_option
LBB0_14:
	movq	_OPTIONS_CRITICAL@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_17
## %bb.15:
	movq	_certflags_src_addr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_17
## %bb.16:
	leaq	L_.str.6(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_add_string_option
LBB0_17:
	movq	_ncert_userext@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_27
## %bb.18:
	movl	$16, %r15d
	xorl	%r12d, %r12d
	movq	_cert_userext@GOTPCREL(%rip), %r14
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_add_string_option
LBB0_26:                                ##   in Loop: Header=BB0_19 Depth=1
	incq	%r12
	addq	$24, %r15
	cmpq	(%rbx), %r12
	jae	LBB0_27
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	cmpq	$0, (%rax,%r15)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	_OPTIONS_EXTENSIONS@GOTPCREL(%rip), %rcx
	testl	%r13d, (%rcx)
	jne	LBB0_26
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	_OPTIONS_CRITICAL@GOTPCREL(%rip), %rcx
	testl	%r13d, (%rcx)
	jne	LBB0_26
LBB0_23:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	-16(%rax,%r15), %rsi
	movq	-8(%rax,%r15), %rdx
	testq	%rdx, %rdx
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_add_flag_option
	jmp	LBB0_26
LBB0_27:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPTIONS_CRITICAL,4,2           ## @OPTIONS_CRITICAL
	.comm	_certflags_command,8,3          ## @certflags_command
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"force-command"

	.comm	_OPTIONS_EXTENSIONS,4,2         ## @OPTIONS_EXTENSIONS
	.comm	_certflags_flags,4,2            ## @certflags_flags
	.comm	_CERTOPT_X_FWD,4,2              ## @CERTOPT_X_FWD
L_.str.1:                               ## @.str.1
	.asciz	"permit-X11-forwarding"

	.comm	_CERTOPT_AGENT_FWD,4,2          ## @CERTOPT_AGENT_FWD
L_.str.2:                               ## @.str.2
	.asciz	"permit-agent-forwarding"

	.comm	_CERTOPT_PORT_FWD,4,2           ## @CERTOPT_PORT_FWD
L_.str.3:                               ## @.str.3
	.asciz	"permit-port-forwarding"

	.comm	_CERTOPT_PTY,4,2                ## @CERTOPT_PTY
L_.str.4:                               ## @.str.4
	.asciz	"permit-pty"

	.comm	_CERTOPT_USER_RC,4,2            ## @CERTOPT_USER_RC
L_.str.5:                               ## @.str.5
	.asciz	"permit-user-rc"

	.comm	_certflags_src_addr,8,3         ## @certflags_src_addr
L_.str.6:                               ## @.str.6
	.asciz	"source-address"

	.comm	_ncert_userext,8,3              ## @ncert_userext
	.comm	_cert_userext,8,3               ## @cert_userext
	.no_dead_strip	_prepare_options_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_options_buf
_prepare_options_buf:                   ; @prepare_options_buf
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	bl	_sshbuf_reset
Lloh0:
	adrp	x21, _OPTIONS_CRITICAL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _OPTIONS_CRITICAL@GOTPAGEOFF]
	ldr	w8, [x21]
	and	w8, w8, w19
Lloh2:
	adrp	x9, _certflags_command@GOTPAGE
Lloh3:
	ldr	x9, [x9, _certflags_command@GOTPAGEOFF]
Lloh4:
	ldr	x2, [x9]
	cmp	w8, #0
	ccmp	x2, #0, #4, ne
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_add_string_option
LBB0_2:
Lloh7:
	adrp	x22, _OPTIONS_EXTENSIONS@GOTPAGE
Lloh8:
	ldr	x22, [x22, _OPTIONS_EXTENSIONS@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w19
	b.eq	LBB0_13
; %bb.3:
Lloh9:
	adrp	x23, _certflags_flags@GOTPAGE
Lloh10:
	ldr	x23, [x23, _certflags_flags@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh11:
	adrp	x9, _CERTOPT_X_FWD@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CERTOPT_X_FWD@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_add_flag_option
	ldr	w8, [x22]
	tst	w8, w19
	b.eq	LBB0_13
LBB0_5:
	ldr	w8, [x23]
Lloh16:
	adrp	x9, _CERTOPT_AGENT_FWD@GOTPAGE
Lloh17:
	ldr	x9, [x9, _CERTOPT_AGENT_FWD@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_add_flag_option
	ldr	w8, [x22]
	tst	w8, w19
	b.eq	LBB0_13
LBB0_7:
	ldr	w8, [x23]
Lloh21:
	adrp	x9, _CERTOPT_PORT_FWD@GOTPAGE
Lloh22:
	ldr	x9, [x9, _CERTOPT_PORT_FWD@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_add_flag_option
	ldr	w8, [x22]
	tst	w8, w19
	b.eq	LBB0_13
LBB0_9:
	ldr	w8, [x23]
Lloh26:
	adrp	x9, _CERTOPT_PTY@GOTPAGE
Lloh27:
	ldr	x9, [x9, _CERTOPT_PTY@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_add_flag_option
	ldr	w8, [x22]
	tst	w8, w19
	b.eq	LBB0_13
LBB0_11:
	ldr	w8, [x23]
Lloh31:
	adrp	x9, _CERTOPT_USER_RC@GOTPAGE
Lloh32:
	ldr	x9, [x9, _CERTOPT_USER_RC@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
Lloh34:
	adrp	x1, l_.str.5@PAGE
Lloh35:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_add_flag_option
LBB0_13:
	ldr	w8, [x21]
	and	w8, w8, w19
Lloh36:
	adrp	x9, _certflags_src_addr@GOTPAGE
Lloh37:
	ldr	x9, [x9, _certflags_src_addr@GOTPAGEOFF]
Lloh38:
	ldr	x2, [x9]
	cmp	w8, #0
	ccmp	x2, #0, #4, ne
	b.eq	LBB0_15
; %bb.14:
Lloh39:
	adrp	x1, l_.str.6@PAGE
Lloh40:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_add_string_option
LBB0_15:
Lloh41:
	adrp	x23, _ncert_userext@GOTPAGE
Lloh42:
	ldr	x23, [x23, _ncert_userext@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_24
; %bb.16:
	mov	x24, #0
	mov	x25, #0
Lloh43:
	adrp	x26, _cert_userext@GOTPAGE
Lloh44:
	ldr	x26, [x26, _cert_userext@GOTPAGEOFF]
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=1
	bl	_add_string_option
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x25, x25, #1
	ldr	x8, [x23]
	add	x24, x24, #24
	cmp	x25, x8
	b.hs	LBB0_24
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	add	x9, x8, x24
	ldr	x9, [x9, #16]
	cbz	x9, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w9, [x22]
	tst	w9, w19
	b.ne	LBB0_18
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w9, [x21]
	tst	w9, w19
	b.ne	LBB0_18
LBB0_22:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x8, x8, x24
	ldp	x1, x2, [x8]
	mov	x0, x20
	cbnz	x2, LBB0_17
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=1
	bl	_add_flag_option
	b	LBB0_18
LBB0_24:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_OPTIONS_CRITICAL,4,2           ; @OPTIONS_CRITICAL
	.comm	_certflags_command,8,3          ; @certflags_command
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"force-command"

	.comm	_OPTIONS_EXTENSIONS,4,2         ; @OPTIONS_EXTENSIONS
	.comm	_certflags_flags,4,2            ; @certflags_flags
	.comm	_CERTOPT_X_FWD,4,2              ; @CERTOPT_X_FWD
l_.str.1:                               ; @.str.1
	.asciz	"permit-X11-forwarding"

	.comm	_CERTOPT_AGENT_FWD,4,2          ; @CERTOPT_AGENT_FWD
l_.str.2:                               ; @.str.2
	.asciz	"permit-agent-forwarding"

	.comm	_CERTOPT_PORT_FWD,4,2           ; @CERTOPT_PORT_FWD
l_.str.3:                               ; @.str.3
	.asciz	"permit-port-forwarding"

	.comm	_CERTOPT_PTY,4,2                ; @CERTOPT_PTY
l_.str.4:                               ; @.str.4
	.asciz	"permit-pty"

	.comm	_CERTOPT_USER_RC,4,2            ; @CERTOPT_USER_RC
l_.str.5:                               ; @.str.5
	.asciz	"permit-user-rc"

	.comm	_certflags_src_addr,8,3         ; @certflags_src_addr
l_.str.6:                               ; @.str.6
	.asciz	"source-address"

	.comm	_ncert_userext,8,3              ; @ncert_userext
	.comm	_cert_userext,8,3               ; @cert_userext
	.no_dead_strip	_prepare_options_buf
.subsections_via_symbols
