	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_fifo_push_head              ## -- Begin function hb_fifo_push_head
	.p2align	4, 0x90
_hb_fifo_push_head:                     ## @hb_fifo_push_head
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.1:
	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	%rsi, %r14
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_hb_lock
	movq	(%rbx), %rax
	cmpq	8(%rbx), %rax
	jl	LBB0_4
## %bb.2:
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_hb_cond_broadcast
LBB0_4:
	xorl	%eax, %eax
	movq	%r14, %rdx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rcx
	movq	(%rdx), %rdx
	incq	%rax
	testq	%rdx, %rdx
	jne	LBB0_5
## %bb.6:
	movq	(%rbx), %rdx
	testq	%rdx, %rdx
	jle	LBB0_8
## %bb.7:
	movq	24(%rbx), %rsi
	movq	%rsi, (%rcx)
	jmp	LBB0_9
LBB0_10:
	retq
LBB0_8:
	movq	%rcx, 32(%rbx)
LBB0_9:
	movq	%r14, 24(%rbx)
	addq	%rax, %rdx
	movq	%rdx, (%rbx)
	movl	16(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_hb_unlock                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_fifo_push_head              ; -- Begin function hb_fifo_push_head
	.p2align	2
_hb_fifo_push_head:                     ; @hb_fifo_push_head
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_8
; %bb.1:
	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
	.cfi_remember_state
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_hb_lock
	ldp	x8, x9, [x19]
	cmp	x8, x9
	b.lt	LBB0_4
; %bb.2:
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_hb_cond_broadcast
LBB0_4:
	mov	x8, #0
	mov	x10, x20
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x10
	ldr	x10, [x10]
	add	x8, x8, #1
	cbnz	x10, LBB0_5
; %bb.6:
	ldr	x10, [x19]
	cmp	x10, #1
	b.lt	LBB0_9
; %bb.7:
	ldr	x11, [x19, #24]
	str	x11, [x9]
	b	LBB0_10
LBB0_8:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
LBB0_9:
	.cfi_restore_state
	str	x9, [x19, #32]
LBB0_10:
	str	x20, [x19, #24]
	add	x8, x10, x8
	str	x8, [x19]
	ldr	w0, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hb_unlock
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
