	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function seconds_to_pow2ns
_seconds_to_pow2ns:                     ## @seconds_to_pow2ns
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	testl	%edi, %edi
	jg	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%r14d, %edx
	callq	_errx
LBB0_2:
	movslq	%r14d, %rax
	imulq	$1000000000, %rax, %r15         ## imm = 0x3B9ACA00
	movq	%r15, %rdi
	callq	_flsll
	movq	%rax, %rbx
	movl	$1, %esi
	movl	%ebx, %ecx
	shlq	%cl, %rsi
	cmpq	%rsi, %r15
	sbbq	$-1, %rbx
	movq	_debugging@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_printf
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"seconds %d < 0"

	.comm	_debugging,8,3                  ## @debugging
L_.str.1:                               ## @.str.1
	.asciz	"shifted %lld\n"

L_.str.2:                               ## @.str.2
	.asciz	"seconds_to_pow2ns: seconds: %d, ns %lld, power %d\n"

	.no_dead_strip	_seconds_to_pow2ns
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function seconds_to_pow2ns
_seconds_to_pow2ns:                     ; @seconds_to_pow2ns
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	cmp	w0, #0
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_errx
LBB0_2:
	mov	w8, #51712
	movk	w8, #15258, lsl #16
	smull	x21, w19, w8
	mov	x0, x21
	bl	_flsll
	mov	w8, #1
	lsl	x1, x8, x0
	cmp	x1, x21
	cinc	x20, x0, ls
Lloh2:
	adrp	x8, _debugging@GOTPAGE
Lloh3:
	ldr	x8, [x8, _debugging@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_printf
	stp	x21, x20, [sp]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_printf
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"seconds %d < 0"

	.comm	_debugging,8,3                  ; @debugging
l_.str.1:                               ; @.str.1
	.asciz	"shifted %lld\n"

l_.str.2:                               ; @.str.2
	.asciz	"seconds_to_pow2ns: seconds: %d, ns %lld, power %d\n"

	.no_dead_strip	_seconds_to_pow2ns
.subsections_via_symbols
