	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_output_format
_set_output_format:                     ## @set_output_format
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movsbl	(%rdi), %eax
	addl	$-66, %eax
	cmpl	$49, %eax
	ja	LBB0_7
## %bb.1:
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	btq	%rax, %rcx
	jb	LBB0_5
## %bb.2:
	movabsq	$70368744194048, %rcx           ## imm = 0x400000004000
	btq	%rax, %rcx
	jb	LBB0_6
## %bb.3:
	movabsq	$562949953552384, %rcx          ## imm = 0x2000000020000
	btq	%rax, %rcx
	jae	LBB0_7
## %bb.4:
	movq	_FORMAT_SYSV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_8
LBB0_6:
	movq	_FORMAT_POSIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_8
LBB0_5:
	movq	_FORMAT_BSD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_fatal
                                        ## implicit-def: $eax
LBB0_8:
	movq	_formats@GOTPCREL(%rip), %rcx
	cltq
	shlq	$2, %rax
	addq	(%rcx), %rax
	movq	_format@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FORMAT_BSD,4,2                 ## @FORMAT_BSD
	.comm	_FORMAT_POSIX,4,2               ## @FORMAT_POSIX
	.comm	_FORMAT_SYSV,4,2                ## @FORMAT_SYSV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: invalid output format"

	.comm	_formats,8,3                    ## @formats
	.comm	_format,8,3                     ## @format
	.no_dead_strip	_set_output_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_output_format
_set_output_format:                     ; @set_output_format
	.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
	ldrsb	w8, [x0]
	sub	w8, w8, #66
	cmp	w8, #49
	b.hi	LBB0_7
; %bb.1:
	mov	w9, #1
	lsl	x9, x9, x8
	tst	x9, #0x100000001
	b.ne	LBB0_6
; %bb.2:
	mov	w9, #1
	lsl	x9, x9, x8
	tst	x9, #0x400000004000
	b.ne	LBB0_5
; %bb.3:
	mov	w9, #1
	lsl	x8, x9, x8
	tst	x8, #0x2000000020000
	b.eq	LBB0_7
; %bb.4:
Lloh0:
	adrp	x8, _FORMAT_SYSV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FORMAT_SYSV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	b	LBB0_8
LBB0_5:
Lloh3:
	adrp	x8, _FORMAT_POSIX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FORMAT_POSIX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	b	LBB0_8
LBB0_6:
Lloh6:
	adrp	x8, _FORMAT_BSD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FORMAT_BSD@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	b	LBB0_8
LBB0_7:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_fatal
                                        ; implicit-def: $w8
LBB0_8:
Lloh11:
	adrp	x9, _formats@GOTPAGE
Lloh12:
	ldr	x9, [x9, _formats@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x8, x9, w8, sxtw #2
Lloh14:
	adrp	x9, _format@GOTPAGE
Lloh15:
	ldr	x9, [x9, _format@GOTPAGEOFF]
Lloh16:
	str	x8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FORMAT_BSD,4,2                 ; @FORMAT_BSD
	.comm	_FORMAT_POSIX,4,2               ; @FORMAT_POSIX
	.comm	_FORMAT_SYSV,4,2                ; @FORMAT_SYSV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: invalid output format"

	.comm	_formats,8,3                    ; @formats
	.comm	_format,8,3                     ; @format
	.no_dead_strip	_set_output_format
.subsections_via_symbols
