	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __choose_matched
___choose_matched:                      ## @__choose_matched
	.cfi_startproc
## %bb.0:
	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	24(%rdi), %edi
	callq	_ntohs
	cmpq	(%r14), %rax
	jne	LBB0_6
## %bb.1:
	movl	20(%rbx), %edi
	callq	_ntohs
	cmpq	8(%r14), %rax
	jne	LBB0_6
## %bb.2:
	leaq	16(%rbx), %rdi
	leaq	40(%r14), %rsi
	callq	_MAC_ADDRESS_EQUAL
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movl	12(%rbx), %edi
	callq	_ntohs
	cmpq	16(%r14), %rax
	jne	LBB0_6
## %bb.4:
	movl	8(%rbx), %edi
	callq	_ntohs
	cmpq	24(%r14), %rax
	jne	LBB0_6
## %bb.5:
	movq	_AD_STATE_AGGREGATION@GOTPCREL(%rip), %rax
	movl	32(%r14), %ecx
	xorl	(%rbx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_7
LBB0_6:
	movq	_AD_STATE_AGGREGATION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_7
## %bb.8:
	movq	_AD_PORT_MATCHED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 36(%r14)
	jmp	LBB0_9
LBB0_7:
	movq	_AD_PORT_MATCHED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 36(%r14)
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AD_STATE_AGGREGATION,4,2       ## @AD_STATE_AGGREGATION
	.comm	_AD_PORT_MATCHED,4,2            ## @AD_PORT_MATCHED
	.no_dead_strip	___choose_matched
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __choose_matched
___choose_matched:                      ; @__choose_matched
	.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	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #24]
	bl	_ntohs
	ldr	x8, [x19]
Lloh0:
	adrp	x21, _AD_STATE_AGGREGATION@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AD_STATE_AGGREGATION@GOTPAGEOFF]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.1:
	ldr	w0, [x20, #20]
	bl	_ntohs
	ldr	x8, [x19, #8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.2:
	add	x0, x20, #16
	add	x1, x19, #40
	bl	_MAC_ADDRESS_EQUAL
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w0, [x20, #12]
	bl	_ntohs
	ldr	x8, [x19, #16]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
	ldr	w0, [x20, #8]
	bl	_ntohs
	ldr	x8, [x19, #24]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.5:
	ldr	w8, [x20]
	ldr	w9, [x21]
	ldr	w10, [x19, #32]
	eor	w8, w10, w8
	tst	w8, w9
	b.eq	LBB0_8
LBB0_6:
	ldr	w8, [x20, #4]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
Lloh2:
	adrp	x8, _AD_PORT_MATCHED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AD_PORT_MATCHED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x19, #36]
	bic	w8, w9, w8
	b	LBB0_9
LBB0_8:
Lloh5:
	adrp	x8, _AD_PORT_MATCHED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AD_PORT_MATCHED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19, #36]
	orr	w8, w9, w8
LBB0_9:
	str	w8, [x19, #36]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AD_STATE_AGGREGATION,4,2       ; @AD_STATE_AGGREGATION
	.comm	_AD_PORT_MATCHED,4,2            ; @AD_PORT_MATCHED
	.no_dead_strip	___choose_matched
.subsections_via_symbols
