	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bba_create                     ## -- Begin function bba_create
	.p2align	4, 0x90
_bba_create:                            ## @bba_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_NETIF_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_LWIP_DEBUGF
	movl	$24, %edi
	callq	_mem_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_LWP_InitQueue
	movq	_wait_exi_queue@GOTPCREL(%rip), %rdi
	callq	_LWP_InitQueue
	movq	_IFNAME0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	32(%r14), %rcx
	movl	%eax, (%rcx)
	movq	_IFNAME1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rcx)
	movq	___bba_start_tx@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	___bba_link_tx@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
	movl	$1500, (%r14)                   ## imm = 0x5DC
	movq	_NETIF_FLAG_BROADCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movl	$6, 4(%r14)
	movq	8(%r14), %rax
	movq	%rax, 8(%rbx)
	movq	_ERR_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_gc_netif@GOTPCREL(%rip), %rax
	movq	%r14, (%rax)
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	callq	_LWIP_ERROR
	xorl	%ebx, %ebx
LBB0_3:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_DEBUG,4,2                ## @NETIF_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bba_create()\n"

L_.str.1:                               ## @.str.1
	.asciz	"bba_create: out of memory for bba_priv\n"

	.comm	_wait_exi_queue,4,2             ## @wait_exi_queue
	.comm	_IFNAME0,4,2                    ## @IFNAME0
	.comm	_IFNAME1,4,2                    ## @IFNAME1
	.comm	___bba_start_tx,4,2             ## @__bba_start_tx
	.comm	___bba_link_tx,4,2              ## @__bba_link_tx
	.comm	_NETIF_FLAG_BROADCAST,4,2       ## @NETIF_FLAG_BROADCAST
	.comm	_ERR_OK,4,2                     ## @ERR_OK
	.comm	_gc_netif,8,3                   ## @gc_netif
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function bba_create
lCPI0_0:
	.long	1500                            ; 0x5dc
	.long	6                               ; 0x6
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_bba_create
	.p2align	2
_bba_create:                            ; @bba_create
	.cfi_startproc
; %bb.0:
	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
	mov	x19, x0
Lloh0:
	adrp	x8, _NETIF_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_LWIP_DEBUGF
	mov	w0, #24
	bl	_mem_malloc
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	add	x0, x20, #16
	bl	_LWP_InitQueue
Lloh5:
	adrp	x0, _wait_exi_queue@GOTPAGE
Lloh6:
	ldr	x0, [x0, _wait_exi_queue@GOTPAGEOFF]
	bl	_LWP_InitQueue
Lloh7:
	adrp	x8, _IFNAME0@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IFNAME0@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	x9, [x19, #32]
	str	w8, [x9]
Lloh10:
	adrp	x8, _IFNAME1@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IFNAME1@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x9, #4]
Lloh13:
	adrp	x8, ___bba_start_tx@GOTPAGE
Lloh14:
	ldr	x8, [x8, ___bba_start_tx@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh16:
	adrp	x8, ___bba_link_tx@GOTPAGE
Lloh17:
	ldr	x8, [x8, ___bba_link_tx@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, lCPI0_0@PAGE
Lloh20:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x19]
Lloh21:
	adrp	x9, _NETIF_FLAG_BROADCAST@GOTPAGE
Lloh22:
	ldr	x9, [x9, _NETIF_FLAG_BROADCAST@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
	ldr	x8, [x19, #8]
Lloh24:
	adrp	x9, _ERR_OK@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ERR_OK@GOTPAGEOFF]
	str	x8, [x20, #8]
Lloh26:
	ldr	w8, [x9]
	str	w8, [x20]
Lloh27:
	adrp	x8, _gc_netif@GOTPAGE
Lloh28:
	ldr	x8, [x8, _gc_netif@GOTPAGEOFF]
Lloh29:
	str	x19, [x8]
	b	LBB0_3
LBB0_2:
Lloh30:
	adrp	x0, l_.str.1@PAGE
Lloh31:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_LWIP_ERROR
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdrp	Lloh19, Lloh21
	.loh AdrpLdr	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_DEBUG,4,2                ; @NETIF_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bba_create()\n"

l_.str.1:                               ; @.str.1
	.asciz	"bba_create: out of memory for bba_priv\n"

	.comm	_wait_exi_queue,4,2             ; @wait_exi_queue
	.comm	_IFNAME0,4,2                    ; @IFNAME0
	.comm	_IFNAME1,4,2                    ; @IFNAME1
	.comm	___bba_start_tx,4,2             ; @__bba_start_tx
	.comm	___bba_link_tx,4,2              ; @__bba_link_tx
	.comm	_NETIF_FLAG_BROADCAST,4,2       ; @NETIF_FLAG_BROADCAST
	.comm	_ERR_OK,4,2                     ; @ERR_OK
	.comm	_gc_netif,8,3                   ; @gc_netif
.subsections_via_symbols
