	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_handler_vendor_elem_get ## -- Begin function wpas_dbus_handler_vendor_elem_get
	.p2align	4, 0x90
_wpas_dbus_handler_vendor_elem_get:     ## @wpas_dbus_handler_vendor_elem_get
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_dbus_message_iter_init
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_dbus_message_iter_get_basic
	movq	-48(%rbp), %rsi
	movq	_NUM_VENDOR_ELEM_FRAMES@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jae	LBB0_1
## %bb.3:
	movq	%r15, %rdi
	callq	_wpas_vendor_elem
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	callq	_dbus_message_new_method_return
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	%rax, %rbx
	leaq	-40(%rbp), %r12
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_dbus_message_iter_init_append
	movq	(%r15), %rax
	movq	-48(%rbp), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_wpabuf_head_u8
	movq	%rax, -56(%rbp)
	movq	(%r15), %rax
	movq	-48(%rbp), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_wpabuf_len
	movq	%rax, %r15
	movq	_DBUS_TYPE_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBUS_TYPE_BYTE_AS_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-36(%rbp), %rcx
	movq	%r12, %rdi
	callq	_dbus_message_iter_open_container
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movq	_DBUS_TYPE_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdi
	leaq	-56(%rbp), %rdx
	movq	%r15, %rcx
	callq	_dbus_message_iter_append_fixed_array
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rdi
	leaq	-36(%rbp), %rsi
	callq	_dbus_message_iter_close_container
	testl	%eax, %eax
	jne	LBB0_12
LBB0_9:
	movq	%rbx, %rdi
	callq	_dbus_message_unref
LBB0_10:
	movq	%r14, %rdi
	callq	_wpas_dbus_error_no_memory
	jmp	LBB0_11
LBB0_1:
	movq	_DBUS_ERROR_INVALID_ARGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_2
LBB0_4:
	movq	_DBUS_ERROR_INVALID_ARGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_2:
	movq	%r14, %rdi
	callq	_dbus_message_new_error
LBB0_11:
	movq	%rax, %rbx
LBB0_12:
	movq	%rbx, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_VENDOR_ELEM_FRAMES,8,3     ## @NUM_VENDOR_ELEM_FRAMES
	.comm	_DBUS_ERROR_INVALID_ARGS,4,2    ## @DBUS_ERROR_INVALID_ARGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid ID"

L_.str.1:                               ## @.str.1
	.asciz	"ID value does not exist"

	.comm	_DBUS_TYPE_ARRAY,4,2            ## @DBUS_TYPE_ARRAY
	.comm	_DBUS_TYPE_BYTE_AS_STRING,4,2   ## @DBUS_TYPE_BYTE_AS_STRING
	.comm	_DBUS_TYPE_BYTE,4,2             ## @DBUS_TYPE_BYTE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_handler_vendor_elem_get ; -- Begin function wpas_dbus_handler_vendor_elem_get
	.p2align	2
_wpas_dbus_handler_vendor_elem_get:     ; @wpas_dbus_handler_vendor_elem_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x19, x0
	add	x1, sp, #28
	bl	_dbus_message_iter_init
	add	x0, sp, #28
	add	x1, sp, #16
	bl	_dbus_message_iter_get_basic
	ldr	x1, [sp, #16]
Lloh0:
	adrp	x8, _NUM_VENDOR_ELEM_FRAMES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_VENDOR_ELEM_FRAMES@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, x8
	b.hs	LBB0_8
; %bb.1:
	mov	x0, x20
	bl	_wpas_vendor_elem
	ldr	x8, [x0]
	ldr	x9, [sp, #16]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_9
; %bb.2:
	mov	x21, x0
	mov	x0, x19
	bl	_dbus_message_new_method_return
	cbz	x0, LBB0_7
; %bb.3:
	mov	x20, x0
	add	x1, sp, #28
	bl	_dbus_message_iter_init_append
	ldr	x8, [x21]
	ldr	x9, [sp, #16]
	ldr	w0, [x8, x9, lsl #2]
	bl	_wpabuf_head_u8
	str	x0, [sp, #8]
	ldr	x8, [x21]
	ldr	x9, [sp, #16]
	ldr	w0, [x8, x9, lsl #2]
	bl	_wpabuf_len
	mov	x21, x0
Lloh3:
	adrp	x8, _DBUS_TYPE_ARRAY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DBUS_TYPE_ARRAY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _DBUS_TYPE_BYTE_AS_STRING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DBUS_TYPE_BYTE_AS_STRING@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x0, sp, #28
	add	x3, sp, #24
	bl	_dbus_message_iter_open_container
	cbz	w0, LBB0_6
; %bb.4:
Lloh9:
	adrp	x8, _DBUS_TYPE_BYTE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DBUS_TYPE_BYTE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x0, sp, #24
	add	x2, sp, #8
	mov	x3, x21
	bl	_dbus_message_iter_append_fixed_array
	cbz	w0, LBB0_6
; %bb.5:
	add	x0, sp, #28
	add	x1, sp, #24
	bl	_dbus_message_iter_close_container
	cbnz	w0, LBB0_12
LBB0_6:
	mov	x0, x20
	bl	_dbus_message_unref
LBB0_7:
	mov	x0, x19
	bl	_wpas_dbus_error_no_memory
	b	LBB0_11
LBB0_8:
Lloh12:
	adrp	x8, _DBUS_ERROR_INVALID_ARGS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DBUS_ERROR_INVALID_ARGS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh17:
	adrp	x8, _DBUS_ERROR_INVALID_ARGS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DBUS_ERROR_INVALID_ARGS@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x2, l_.str.1@PAGE
Lloh21:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_10:
	mov	x0, x19
	bl	_dbus_message_new_error
LBB0_11:
	mov	x20, x0
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_VENDOR_ELEM_FRAMES,8,3     ; @NUM_VENDOR_ELEM_FRAMES
	.comm	_DBUS_ERROR_INVALID_ARGS,4,2    ; @DBUS_ERROR_INVALID_ARGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid ID"

l_.str.1:                               ; @.str.1
	.asciz	"ID value does not exist"

	.comm	_DBUS_TYPE_ARRAY,4,2            ; @DBUS_TYPE_ARRAY
	.comm	_DBUS_TYPE_BYTE_AS_STRING,4,2   ; @DBUS_TYPE_BYTE_AS_STRING
	.comm	_DBUS_TYPE_BYTE,4,2             ; @DBUS_TYPE_BYTE
.subsections_via_symbols
