	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bitmap_port_create
_bitmap_port_create:                    ## @bitmap_port_create
	.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	%rsi, %r12
	movq	%rdi, %r15
	movq	_IPSET_ATTR_PORT@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	%r12, %rdi
	callq	_ip_set_attr_netorder
	movl	$1, %ebx
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	_IPSET_ATTR_PORT_TO@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_ip_set_attr_netorder
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	_IPSET_ATTR_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_ip_set_optattr_netorder
	xorl	%ebx, %ebx
	testl	%eax, %eax
	sete	%bl
LBB0_3:
	movl	%ebx, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_IPSET_ERR_PROTOCOL@GOTPCREL(%rip), %rax
LBB0_5:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rax
	movq	(%r12,%rax,8), %rdi
	callq	_ip_set_get_h16
	movq	%rax, %rbx
	movq	_IPSET_ATTR_PORT_TO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12,%rax,8), %rdi
	callq	_ip_set_get_h16
	movq	%rax, %r13
	cmpq	%rax, %rbx
	movq	%rax, %r14
	cmovlq	%rbx, %r14
	cmovgq	%rbx, %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r15
	movq	_IPSET_ATTR_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r13, %rsi
	subq	%r14, %rsi
	cmpq	$0, (%r12,%rax,8)
	je	LBB0_12
## %bb.9:
	leaq	8(,%rsi,8), %rax
	movq	%rax, (%r15)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_init_map_port
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movq	_IPSET_ATTR_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12,%rax,8), %rdi
	callq	_ip_set_timeout_uget
	movl	%eax, 8(%r15)
	movq	_bitmap_tport@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_bitmap_port_gc_init
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_12:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_bitmap_bytes
	movq	%rax, (%r15)
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_pr_debug
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_init_map_port
	testl	%eax, %eax
	je	LBB0_10
## %bb.13:
	movq	_bitmap_port@GOTPCREL(%rip), %rax
	movq	%rax, (%r12)
	jmp	LBB0_14
LBB0_10:
	movq	%r15, %rdi
	callq	_kfree
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_IPSET_ATTR_PORT,8,3            ## @IPSET_ATTR_PORT
	.comm	_IPSET_ATTR_PORT_TO,8,3         ## @IPSET_ATTR_PORT_TO
	.comm	_IPSET_ATTR_TIMEOUT,8,3         ## @IPSET_ATTR_TIMEOUT
	.comm	_IPSET_ERR_PROTOCOL,4,2         ## @IPSET_ERR_PROTOCOL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_bitmap_tport,4,2               ## @bitmap_tport
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"memsize: %zu\n"

	.comm	_bitmap_port,4,2                ## @bitmap_port
	.no_dead_strip	_bitmap_port_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bitmap_port_create
_bitmap_port_create:                    ; @bitmap_port_create
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _IPSET_ATTR_PORT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IPSET_ATTR_PORT@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	x0, x20
	bl	_ip_set_attr_netorder
Lloh2:
	adrp	x22, _IPSET_ATTR_PORT_TO@GOTPAGE
Lloh3:
	ldr	x22, [x22, _IPSET_ATTR_PORT_TO@GOTPAGEOFF]
	cbz	w0, LBB0_7
; %bb.1:
	ldr	x1, [x22]
	mov	x0, x20
	bl	_ip_set_attr_netorder
	cbz	w0, LBB0_7
; %bb.2:
Lloh4:
	adrp	x8, _IPSET_ATTR_TIMEOUT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IPSET_ATTR_TIMEOUT@GOTPAGEOFF]
Lloh6:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_ip_set_optattr_netorder
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_8
LBB0_3:
	ldr	x8, [x21]
	ldr	x0, [x20, x8, lsl #3]
	bl	_ip_set_get_h16
	mov	x21, x0
	ldr	x8, [x22]
	ldr	x0, [x20, x8, lsl #3]
	bl	_ip_set_get_h16
	cmp	x21, x0
	csel	x23, x21, x0, lt
	csel	x22, x21, x0, gt
Lloh7:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_12
; %bb.4:
	mov	x21, x0
Lloh10:
	adrp	x24, _IPSET_ATTR_TIMEOUT@GOTPAGE
Lloh11:
	ldr	x24, [x24, _IPSET_ATTR_TIMEOUT@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x8, [x20, x8, lsl #3]
	sub	x1, x22, x23
	cbz	x8, LBB0_9
; %bb.5:
	lsl	x8, x1, #3
	add	x8, x8, #8
	str	x8, [x21]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	mov	x3, x22
	bl	_init_map_port
	cbz	w0, LBB0_11
; %bb.6:
	ldr	x8, [x24]
	ldr	x0, [x20, x8, lsl #3]
	bl	_ip_set_timeout_uget
	str	w0, [x21, #8]
Lloh12:
	adrp	x8, _bitmap_tport@GOTPAGE
Lloh13:
	ldr	x8, [x8, _bitmap_tport@GOTPAGEOFF]
	str	x8, [x19]
	mov	x0, x19
	bl	_bitmap_port_gc_init
	mov	w0, #0
	b	LBB0_14
LBB0_7:
	mov	w0, #1
	bl	_unlikely
	cbz	x0, LBB0_3
LBB0_8:
Lloh14:
	adrp	x8, _IPSET_ERR_PROTOCOL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IPSET_ERR_PROTOCOL@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
	mov	w0, #0
	bl	_bitmap_bytes
	mov	x1, x0
	str	x0, [x21]
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	mov	x3, x22
	bl	_init_map_port
	cbz	w0, LBB0_11
; %bb.10:
	mov	w0, #0
Lloh18:
	adrp	x8, _bitmap_port@GOTPAGE
Lloh19:
	ldr	x8, [x8, _bitmap_port@GOTPAGEOFF]
	str	x8, [x19]
	b	LBB0_14
LBB0_11:
	mov	x0, x21
	bl	_kfree
LBB0_12:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_IPSET_ATTR_PORT,8,3            ; @IPSET_ATTR_PORT
	.comm	_IPSET_ATTR_PORT_TO,8,3         ; @IPSET_ATTR_PORT_TO
	.comm	_IPSET_ATTR_TIMEOUT,8,3         ; @IPSET_ATTR_TIMEOUT
	.comm	_IPSET_ERR_PROTOCOL,4,2         ; @IPSET_ERR_PROTOCOL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_bitmap_tport,4,2               ; @bitmap_tport
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"memsize: %zu\n"

	.comm	_bitmap_port,4,2                ; @bitmap_port
	.no_dead_strip	_bitmap_port_create
.subsections_via_symbols
