	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ifconfig_lagg_get_lagg_status  ## -- Begin function ifconfig_lagg_get_lagg_status
	.p2align	4, 0x90
_ifconfig_lagg_get_lagg_status:         ## @ifconfig_lagg_get_lagg_status
	.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, %r15
	movq	%rsi, %r14
	movq	%rdi, %r13
	movl	$1, %edi
	movl	$128, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	addq	$104, %rax
	movq	%rbx, 120(%rbx)
	movq	%r15, %rcx
	leaq	64(%rbx), %r15
	movq	%r15, 112(%rbx)
	movq	%rbx, %r12
	addq	$32, %r12
	movq	%r12, 104(%rbx)
	movq	%rax, (%rcx)
	movl	84(%rbx), %edi
	movl	96(%rbx), %eax
	movl	%eax, 24(%rbx)
	movl	$4, (%rbx)
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	_AF_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SIOCGLAGGOPTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r15, %rcx
	movq	%r14, %r15
	callq	_ifconfig_ioctlwrap
	movl	48(%rbx), %edi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	_AF_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SIOCGLAGGFLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %r14
	movq	%r13, %rdi
	movq	%r12, %rcx
	callq	_ifconfig_ioctlwrap
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	$0, 40(%rbx)
LBB0_4:
	movl	4(%rbx), %edi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	_AF_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SIOCGLAGG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	callq	_ifconfig_ioctlwrap
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_7
LBB0_1:
	movq	_OTHER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
LBB0_7:
	movl	$-1, %eax
	jmp	LBB0_8
LBB0_5:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OTHER,4,2                      ## @OTHER
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AF_LOCAL,4,2                   ## @AF_LOCAL
	.comm	_SIOCGLAGGOPTS,4,2              ## @SIOCGLAGGOPTS
	.comm	_SIOCGLAGGFLAGS,4,2             ## @SIOCGLAGGFLAGS
	.comm	_SIOCGLAGG,4,2                  ## @SIOCGLAGG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ifconfig_lagg_get_lagg_status  ; -- Begin function ifconfig_lagg_get_lagg_status
	.p2align	2
_ifconfig_lagg_get_lagg_status:         ; @ifconfig_lagg_get_lagg_status
	.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, #1
	mov	w1, #128
	bl	_calloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	add	x23, x0, #64
	stp	x23, x0, [x0, #112]
	add	x24, x0, #32
	mov	x8, x0
	str	x24, [x8, #104]!
	str	x8, [x22]
	ldr	w8, [x0, #96]
	str	w8, [x0, #24]
	mov	w8, #4
	str	w8, [x0]
	ldr	w0, [x0, #84]
	mov	x1, x21
	mov	w2, #4
	bl	_strlcpy
Lloh0:
	adrp	x22, _AF_LOCAL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AF_LOCAL@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x8, _SIOCGLAGGOPTS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SIOCGLAGGOPTS@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x23
	bl	_ifconfig_ioctlwrap
	ldr	w0, [x20, #48]
	mov	x1, x21
	mov	w2, #4
	bl	_strlcpy
	ldr	w1, [x22]
Lloh5:
	adrp	x8, _SIOCGLAGGFLAGS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIOCGLAGGFLAGS@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x24
	bl	_ifconfig_ioctlwrap
	cbz	x0, LBB0_3
; %bb.2:
	str	xzr, [x20, #40]
LBB0_3:
	ldr	w0, [x20, #4]
	mov	x1, x21
	mov	w2, #4
	bl	_strlcpy
	ldr	w1, [x22]
Lloh8:
	adrp	x8, _SIOCGLAGG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIOCGLAGG@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x20
	bl	_ifconfig_ioctlwrap
	cbz	x0, LBB0_7
; %bb.4:
	mov	x0, x20
	bl	_free
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x8, _OTHER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OTHER@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
LBB0_6:
	mov	w0, #-1
LBB0_7:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_OTHER,4,2                      ; @OTHER
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AF_LOCAL,4,2                   ; @AF_LOCAL
	.comm	_SIOCGLAGGOPTS,4,2              ; @SIOCGLAGGOPTS
	.comm	_SIOCGLAGGFLAGS,4,2             ; @SIOCGLAGGFLAGS
	.comm	_SIOCGLAGG,4,2                  ; @SIOCGLAGG
.subsections_via_symbols
