	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BipartiteMatch                 ## -- Begin function BipartiteMatch
	.p2align	4, 0x90
_BipartiteMatch:                        ## @BipartiteMatch
	.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
	movq	%rdx, %r12
	movl	%esi, %r15d
	movl	%edi, %r14d
	movl	$56, %edi
	callq	_palloc
	movq	%rax, %r13
	testl	%r14d, %r14d
	js	LBB0_4
## %bb.1:
	movq	_SHRT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r15d, %eax
	jle	LBB0_4
## %bb.2:
	testl	%r15d, %r15d
	js	LBB0_4
## %bb.3:
	cmpl	%r14d, %eax
	jg	LBB0_5
LBB0_4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_5:
	movl	%r14d, (%r13)
	movl	%r15d, 4(%r13)
	movq	%r12, 8(%r13)
	movq	$0, 48(%r13)
	leal	(%r14,%r14), %ebx
	addl	$2, %ebx
	movl	%ebx, %edi
	callq	_palloc0
	movq	%rax, 16(%r13)
	leal	(%r15,%r15), %edi
	addl	$2, %edi
	callq	_palloc0
	movq	%rax, 24(%r13)
	movl	%ebx, %edi
	callq	_palloc
	movq	%rax, 32(%r13)
	leal	(%r14,%r14), %edi
	addl	$4, %edi
	callq	_palloc
	movq	%rax, 40(%r13)
	movq	%r13, %rdi
	callq	_hk_breadth_search
	testq	%rax, %rax
	je	LBB0_14
## %bb.6:
	leal	1(%r14), %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
	callq	_CHECK_FOR_INTERRUPTS
	movq	%r13, %rdi
	callq	_hk_breadth_search
	testq	%rax, %rax
	je	LBB0_14
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	testl	%r14d, %r14d
	jle	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=2
	incq	%rbx
	cmpq	%rbx, %r15
	je	LBB0_13
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r13), %rax
	cmpw	$0, (%rax,%rbx,2)
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_hk_depth_search
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	incq	48(%r13)
	jmp	LBB0_12
LBB0_14:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SHRT_MAX,4,2                   ## @SHRT_MAX
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid set size for BipartiteMatch"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BipartiteMatch                 ; -- Begin function BipartiteMatch
	.p2align	2
_BipartiteMatch:                        ; @BipartiteMatch
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	mov	w0, #56
	bl	_palloc
	mov	x20, x0
	tbnz	w19, #31, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _SHRT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SHRT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w21
	b.le	LBB0_4
; %bb.2:
	tbnz	w21, #31, LBB0_4
; %bb.3:
	cmp	w8, w19
	b.gt	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_5:
	stp	w19, w21, [x20]
	str	x22, [x20, #8]
	str	xzr, [x20, #48]
	lsl	w23, w19, #1
	add	w22, w23, #2
	mov	x0, x22
	bl	_palloc0
	str	x0, [x20, #16]
	lsl	w8, w21, #1
	add	w0, w8, #2
	bl	_palloc0
	str	x0, [x20, #24]
	mov	x0, x22
	bl	_palloc
	str	x0, [x20, #32]
	add	w0, w23, #4
	bl	_palloc
	str	x0, [x20, #40]
	mov	x0, x20
	bl	_hk_breadth_search
	cbz	x0, LBB0_14
; %bb.6:
	add	w22, w19, #1
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	bl	_CHECK_FOR_INTERRUPTS
	mov	x0, x20
	bl	_hk_breadth_search
	cbz	x0, LBB0_14
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	cmp	w19, #1
	b.lt	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w21, #1
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x21, x21, #1
	cmp	x22, x21
	b.eq	LBB0_7
LBB0_11:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #16]
	ldrh	w8, [x8, x21, lsl #1]
	cbnz	w8, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x20
	mov	x1, x21
	bl	_hk_depth_search
	cbz	x0, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x20, #48]
	add	x8, x8, #1
	str	x8, [x20, #48]
	b	LBB0_10
LBB0_14:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SHRT_MAX,4,2                   ; @SHRT_MAX
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid set size for BipartiteMatch"

.subsections_via_symbols
