	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_attr
_add_attr:                              ## @add_attr
	.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, %r14
	callq	_nlmsg_hdr
	movl	%eax, %edi
	callq	_nlmsg_data
	movq	%rax, %r12
	movq	_tb@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_SWITCH_ATTR_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	decq	%rbx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_genlmsg_attrdata
	movl	%eax, %r13d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_genlmsg_attrlen
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	_nla_parse
	testq	%rax, %rax
	js	LBB0_13
## %bb.1:
	movl	$48, %edi
	callq	_swlib_alloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.2:
	movq	%rax, %rbx
	movl	20(%r14), %eax
	movl	%eax, 44(%rbx)
	movl	16(%r14), %eax
	movl	%eax, 40(%rbx)
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, 32(%rax)
	movq	(%r14), %rax
	jmp	LBB0_5
LBB0_4:
	movq	(%r14), %rax
	movq	(%rax), %rcx
	movq	%rcx, 8(%r14)
LBB0_5:
	movq	%rbx, (%rax)
	movq	%rbx, %rax
	addq	$32, %rax
	movq	%rax, (%r14)
	movq	_tb@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_SWITCH_ATTR_OP_ID@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_nla_get_u32
	movq	%rax, 24(%rbx)
	movq	(%r14), %rax
LBB0_7:
	movq	_SWITCH_ATTR_OP_TYPE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_nla_get_u32
	movq	%rax, 16(%rbx)
	movq	(%r14), %rax
LBB0_9:
	movq	_SWITCH_ATTR_OP_NAME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_nla_get_string
	movl	%eax, %edi
	callq	_strdup
	movq	%rax, 8(%rbx)
	movq	(%r14), %rax
LBB0_11:
	movq	_SWITCH_ATTR_OP_DESCRIPTION@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	callq	_nla_get_string
	movl	%eax, %edi
	callq	_strdup
	movq	%rax, (%rbx)
LBB0_13:
	movq	_NL_SKIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tb,8,3                         ## @tb
	.comm	_SWITCH_ATTR_MAX,8,3            ## @SWITCH_ATTR_MAX
	.comm	_SWITCH_ATTR_OP_ID,8,3          ## @SWITCH_ATTR_OP_ID
	.comm	_SWITCH_ATTR_OP_TYPE,8,3        ## @SWITCH_ATTR_OP_TYPE
	.comm	_SWITCH_ATTR_OP_NAME,8,3        ## @SWITCH_ATTR_OP_NAME
	.comm	_SWITCH_ATTR_OP_DESCRIPTION,8,3 ## @SWITCH_ATTR_OP_DESCRIPTION
	.comm	_NL_SKIP,4,2                    ## @NL_SKIP
	.no_dead_strip	_add_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_attr
_add_attr:                              ; @add_attr
	.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
	bl	_nlmsg_hdr
	bl	_nlmsg_data
	mov	x19, x0
Lloh0:
	adrp	x24, _tb@GOTPAGE
Lloh1:
	ldr	x24, [x24, _tb@GOTPAGEOFF]
	ldr	x21, [x24]
Lloh2:
	adrp	x8, _SWITCH_ATTR_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SWITCH_ATTR_MAX@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	sub	x22, x8, #1
	mov	w1, #0
	bl	_genlmsg_attrdata
	mov	x23, x0
	mov	x0, x19
	mov	w1, #0
	bl	_genlmsg_attrlen
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x4, #0
	bl	_nla_parse
	tbnz	x0, #63, LBB0_13
; %bb.1:
	mov	w0, #48
	bl	_swlib_alloc
	cbz	x0, LBB0_13
; %bb.2:
	mov	x19, x0
	ldr	d0, [x20, #16]
	str	d0, [x0, #40]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.3:
	str	x19, [x8, #32]
	ldr	x8, [x20]
	b	LBB0_5
LBB0_4:
	ldr	x8, [x20]
	ldr	x9, [x8]
	str	x9, [x20, #8]
LBB0_5:
	str	x19, [x8]
	add	x8, x19, #32
	str	x8, [x20]
	ldr	x8, [x24]
Lloh5:
	adrp	x9, _SWITCH_ATTR_OP_ID@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SWITCH_ATTR_OP_ID@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_nla_get_u32
	str	x0, [x19, #24]
	ldr	x8, [x24]
LBB0_7:
Lloh8:
	adrp	x9, _SWITCH_ATTR_OP_TYPE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SWITCH_ATTR_OP_TYPE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_nla_get_u32
	str	x0, [x19, #16]
	ldr	x8, [x24]
LBB0_9:
Lloh11:
	adrp	x9, _SWITCH_ATTR_OP_NAME@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SWITCH_ATTR_OP_NAME@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_nla_get_string
	bl	_strdup
	str	x0, [x19, #8]
	ldr	x8, [x24]
LBB0_11:
Lloh14:
	adrp	x9, _SWITCH_ATTR_OP_DESCRIPTION@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SWITCH_ATTR_OP_DESCRIPTION@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_13
; %bb.12:
	bl	_nla_get_string
	bl	_strdup
	str	x0, [x19]
LBB0_13:
Lloh17:
	adrp	x8, _NL_SKIP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NL_SKIP@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_tb,8,3                         ; @tb
	.comm	_SWITCH_ATTR_MAX,8,3            ; @SWITCH_ATTR_MAX
	.comm	_SWITCH_ATTR_OP_ID,8,3          ; @SWITCH_ATTR_OP_ID
	.comm	_SWITCH_ATTR_OP_TYPE,8,3        ; @SWITCH_ATTR_OP_TYPE
	.comm	_SWITCH_ATTR_OP_NAME,8,3        ; @SWITCH_ATTR_OP_NAME
	.comm	_SWITCH_ATTR_OP_DESCRIPTION,8,3 ; @SWITCH_ATTR_OP_DESCRIPTION
	.comm	_NL_SKIP,4,2                    ; @NL_SKIP
	.no_dead_strip	_add_attr
.subsections_via_symbols
