	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function archive_write_v7tar_options
_archive_write_v7tar_options:           ## @archive_write_v7tar_options
	.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
	movq	%rdx, %r15
	movq	%rsi, %rax
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	movq	_ARCHIVE_FAILED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %r14d
	jmp	LBB0_9
LBB0_1:
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	cmpb	$0, (%r15)
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_archive_string_conversion_to_charset
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %ecx
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_archive_set_error
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_FAILED,4,2             ## @ARCHIVE_FAILED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hdrcharset"

	.comm	_ARCHIVE_ERRNO_MISC,4,2         ## @ARCHIVE_ERRNO_MISC
L_.str.1:                               ## @.str.1
	.asciz	"%s: hdrcharset option needs a character-set name"

	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_WARN,4,2               ## @ARCHIVE_WARN
	.no_dead_strip	_archive_write_v7tar_options
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function archive_write_v7tar_options
_archive_write_v7tar_options:           ; @archive_write_v7tar_options
	.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
	mov	x21, x2
	mov	x8, x1
	mov	x20, x0
	ldr	x22, [x0, #8]
Lloh0:
	adrp	x9, _ARCHIVE_FAILED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARCHIVE_FAILED@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x9]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _ARCHIVE_WARN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF]
LBB0_2:
	ldr	w19, [x8]
	b	LBB0_8
LBB0_3:
	cbz	x21, LBB0_7
; %bb.4:
	ldrb	w8, [x21]
	cbz	w8, LBB0_7
; %bb.5:
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	bl	_archive_string_conversion_to_charset
	str	x0, [x22]
	cbz	x0, LBB0_9
; %bb.6:
Lloh7:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
	b	LBB0_2
LBB0_7:
Lloh9:
	adrp	x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w3, [x20, #4]
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_archive_set_error
LBB0_8:
	mov	x0, x19
	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
LBB0_9:
Lloh14:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_FAILED,4,2             ; @ARCHIVE_FAILED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hdrcharset"

	.comm	_ARCHIVE_ERRNO_MISC,4,2         ; @ARCHIVE_ERRNO_MISC
l_.str.1:                               ; @.str.1
	.asciz	"%s: hdrcharset option needs a character-set name"

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_WARN,4,2               ; @ARCHIVE_WARN
	.no_dead_strip	_archive_write_v7tar_options
.subsections_via_symbols
